To export migration data from a GitHub.com organization, you'll need to use the API to select repositories to migrate. After that, you'll generate a migration archive that you can import into a GitHub Enterprise instance.
Before migrating repositories from a GitHub.com organization, ensure that you have the proper authentication and administrative access.
Using the Migrations API, you can export an organization's repositories. After exporting your repositories, you'll download the migration archive that's used for the import process.