How do you rename a repository in GitHub?
1. On GitHub.com, navigate to the main page of the repository.

2. Under your repository name, click Settings. If you cannot see the Settings tab, select the dropdown menu, then click Settings.

3. In the Repository Name field, type the new name of your repository.

4. Click Rename.
What about archiving?
To archive a repository on GitHub, follow these steps:

1. On GitHub.com, navigate to the main page of the repository you want to archive.
1. Under your repository name, click Settings. If you cannot see the Settings tab, select the dropdown menu, then click Settings.
1. Scroll down to the Danger Zone section, which is typically located at the bottom of the Settings page.
1. Click on Archive this repository.
1. A popup window will appear, asking you to confirm the action. Type the name of the repository to confirm, then click the I understand the consequences, archive this repository button.

Please note that archiving a repository makes it read-only for all users, including collaborators. No one will be able to create issues, pull requests, or leave comments. Archiving can be useful if you want to preserve a project but not allow any further changes. If you need to unarchive the repository later, you can do so in the repository settings.