Ensure that you have owner permissions on the source organization's repositories.
Generate an access token with the
admin:orgscopes on GitHub.com.
To minimize downtime, make a list of repositories you want to export from the source instance. You can add multiple repositories to an export at once using a text file that lists the URL of each repository on a separate line.
Article version: Enterprise Server 2.20
Preparing the GitHub.com source organization
Before migrating repositories from a GitHub.com organization, ensure that you have the proper authentication and administrative access.