Archiving your GitHub personal account and public repositories
Requesting an archive of your personal account’s data
You can export and review the metadata that GitHub stores about your personal account.
Opting into or out of the GitHub Archive Program for your public repository
You can manage whether GitHub includes your public repository in the GitHub Archive Program to help ensure the long-term preservation of the world's open source software.