Archiving a GitHub repository
You can archive, back up, and cite your work using GitHub Enterprise Server, the API, or third-party tools and services.
Archiving repositories
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 or the API to back up your repository.