Skip to main content

This version of GitHub Enterprise was discontinued on 2022-06-03. 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.

Adding outside collaborators to repositories in your organization

You can allow people who aren't members of your organization to access repositories that your organization owns.

People with admin access to a repository can add an outside collaborator to the repository.

About outside collaborators

An outside collaborator is a person who is not a member of your organization, but has access to one or more of your organization's repositories. You can choose the level of access to grant for each outside collaborator. When you add an outside collaborator to a repository, you'll also need to add them to any forks of the repository you'd like them to access.

Adding an outside collaborator to a private repository will use one of your paid licenses. For more information, see "About billing for your enterprise."

An organization owner can restrict the ability to invite collaborators. For more information, see "Setting permissions for adding outside collaborators."

Before you can add someone as an outside collaborator on a repository, the person must have a personal account on your GitHub Enterprise Server instance. If your enterprise uses an external authentication system such as SAML or LDAP, the person you want to add must sign in through that system to create an account. If the person does not have access to the authentication system and built-in authentication is enabled for your enterprise, a site administrator can create an account for the person. For more information, see "Configuring built-in authentication."

If your organization requires two-factor authentication, all outside collaborators must enable two-factor authentication before accepting your invitation to collaborate on a repository. For more information, see "Requiring two-factor authentication in your organization."

Adding outside collaborators to a repository

  1. On your GitHub Enterprise Server instance, navigate to the main page of the repository.
  2. Under your repository name, click Settings. Repository settings button
  3. In the left sidebar, click Collaborators & teams. Repository settings sidebar with Collaborators & teams highlighted
  4. Under "Collaborators", type the name of the person you'd like to give access to the repository, then click Add collaborator. The Collaborators section with the Octocat's username entered in the search field
  5. Next to the new collaborator's name, use the drop-down menu and select the appropriate access level. The repository permissions picker