Archiving a GitHub repository
You can archive, back up, and cite your work using GitHub Enterprise, the API, or third-party tools and services.
About archiving repositories→
When you archive a repository, you are letting people know that a project is no longer actively maintained.
You can archive a repository to make it read-only for all users and indicate that it's no longer actively maintained. You can also unarchive repositories that have been archived.
Backing up a repository→
You can use Git and the API to back up your repository.