Article version: Enterprise Server 2.13

This version of GitHub Enterprise will be discontinued on This version of GitHub Enterprise was discontinued on 2019-03-27. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Transferring a repository

You can transfer repositories to other users or organization accounts.

In this guide

About repository transfers

When you transfer a repository to a new owner, they can immediately administer the repository's contents, issues, pull requests, releases, project boards, and settings.

Prerequisites for repository transfers:

What's transferred with a repository?

When you transfer a repository, its issues, pull requests, wiki, stars, and watchers are also transferred. If the transferred repository contains webhooks, services, or deploy keys, they will remain associated after the transfer is complete. Git information about commits, including contributions, is preserved. In addition:

For more information, see "Changing a remote's URL".

Repository transfers and organizations

To transfer repositories to an organization, you must have repository creation permissions in the receiving organization. If organization owners have disabled repository creation by organization members, only organization owners can transfer repositories out of or into the organization.

Once a repository is transferred to an organization, the organization's default repository permission settings and default membership privileges will apply to the transferred repository.

Transferring a repository owned by your personal account

You can transfer your repository to any user account that accepts your repository transfer. When a repository is transferred between two user accounts, the original repository owner and collaborators are automatically added as collaborators to the new repository.

  1. On GitHub Enterprise, navigate to the main page of the repository.

  2. Under your repository name, click Settings.

    Repository settings button

  3. Click Transfer.

    Transfer button

  4. Read the warnings and enter the repository name to confirm that you've done so.

  5. Type the name of the new owner and click I understand, transfer this repo.

    Transfer button

Transferring a repository owned by your organization

If you have owner permissions in an organization or admin permissions to one of its repositories, you can transfer a repository owned by your organization to your personal user account or to another organization.

  1. Sign into your personal user account that has admin or owner permissions in the organization that owns the repository.

  2. On GitHub Enterprise, navigate to the main page of the repository.

  3. Under your repository name, click Settings.

    Repository settings button

  4. Click Transfer.

    Transfer button

  5. Read the warnings and enter the repository name to confirm that you've done so.

  6. Type the name of the new owner and click I understand, transfer this repo.

    Transfer button

Ask a human

Can't find what you're looking for?

Contact us