Managing teams and people with access to your repository

You can see everyone who has access to your repository and adjust permissions.

Repository administrators can manage teams and people with access to a repository.

About managing access to your repository

For each repository that you administer on GitHub, you can see an overview of every team or person with access to the repository. From the overview, you can also invite new teams or people, change each team or person's permissions, or remove access to the repository.

This overview can help you audit access to your repository, onboard or off-board contractors or employees, and effectively respond to security incidents.

For more information about repository permission levels, see "Permission levels for a user account repository" and "Repository permission levels for an organization."

Access management overview

Filtering the list of teams and people

  1. On GitHub, navigate to the main page of the repository.
  2. Under your repository name, click Settings. Repository settings button
  3. In the left sidebar, click Manage access. "Manage access" tab
  4. Under "Manage access", in the search field, start typing the name of the team or person you'd like to find. Search field for filtering list of teams or people with access

Changing permissions for a team or person

  1. On GitHub, navigate to the main page of the repository.
  2. Under your repository name, click Settings. Repository settings button
  3. In the left sidebar, click Manage access. "Manage access" tab
  4. Under "Manage access", find the team or person whose permissions you'd like to change, then use the Role drop-down to select new permissions. Using the "Role" drop-down to select new permissions for a team or person

Inviting a team or person

  1. On GitHub, navigate to the main page of the repository.
  2. Under your repository name, click Settings. Repository settings button
  3. In the left sidebar, click Manage access. "Manage access" tab
  4. To the right of "Manage access", click Invite teams or people. "Invite teams or people" button
  5. In the search field, start typing the name of the team or person to invite, then click a name in the list of matches. Search field for typing the name of a team or person to invite to the repository
  6. Under "Choose a role", select the permissions to grant to the team or person, then click Add NAME to REPOSITORY. Selecting permissions for the team or person

Removing access for a team or person

  1. On GitHub, navigate to the main page of the repository.
  2. Under your repository name, click Settings. Repository settings button
  3. In the left sidebar, click Manage access. "Manage access" tab
  4. Under "Manage access", find the team or person whose access you'd like to remove, then click . trash icon for removing access

Further reading

Did this doc help you?Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.