To export migration data from a 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.

Preparing the source organization

Before migrating repositories from a organization, ensure that you have the proper authentication and administrative access.

Exporting the organization's repositories

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.