tar.gz
file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects:attachments
directory that includes all attachment files uploaded to GitHub.com and a repositories
directory that contains the repository's Git data.curl --location --request GET 'https://api.github.com/user/migrations//archive'
{}