Organization owners and team maintainers can add repositories to a team, as well as change the team's read, write, and admin access to the repository.

Warning: If you remove a person’s access to a private repository, any of their forks of that private repository are deleted. Local clones of the private repository are retained. If a team's access to a private repository is revoked or a team with access to a private repository is deleted, and team members do not have access to the repository through another team, private forks of the repository will be deleted.

  1. Profile photoIn the top right corner of GitHub Enterprise, click your profile photo, then click Your profile.

  2. organization iconsOn the left side of your profile page, under "Organizations", click the icon for your organization.

  3. Teams tabUnder your organization name, click Teams.

  4. Team page with list of teamsOn the Teams tab, click the name of the team.

  5. The team repositories buttonAt the top of the list of team members, click Repositories.

  6. Repository search fieldIn the "Add repositories" field, type the name of a repository, then select it.
  7. If necessary, confirm your password.
  8. Repository access level dropdownOptionally, to the right of the repository name, choose a different permission level for the team.