GitHub: Configuring repository and organization-level access controls

Updated on
January 12, 2023

Get a free security audit today

I accept the terms and conditions

Configuring access controls is a critical aspect of security in GitHub. This technical reference guide will provide you with a step-by-step process to configuring repository and organization-level access controls.

 

1. Setting repository-level access controls:

  • To set repository-level access controls in GitHub, navigate to the repository you want to set access controls for.
  • In the top right corner of the page, choose Settings.
  • In the left sidebar, choose Collaborators.
  • Use the collaborator management interface to add or remove collaborators and set their permissions.

2. Setting organization-level access controls:

  • To set organization-level access controls in GitHub, sign in to your GitHub account and navigate to the organization you want to set access controls for.
  • In the top right corner of the page, choose Settings.
  • In the left sidebar, choose Members.
  • Use the member management interface to add or remove members and set their permissions.

3. Setting branch-level access controls:

  • To set branch-level access controls in GitHub, navigate to the repository you want to set access controls for.
  • In the left sidebar, choose Settings.
  • In the left sidebar, choose Branches.
  • Use the branch protection interface to enable branch protection and set the required status checks and required pull request reviews.

By following these steps, you can configure access controls at the repository, organization, and branch levels in GitHub to protect your repositories and organization.

More Technical Guides

Follow along with one of our reference guides to start securing your GitHub instance