Skip to main content

Configuring GitHub Copilot settings in your organization

You can configure GitHub Copilot in your organization, including granting and revoking access to individuals and teams, and determining whether to block suggestions that match public code.

Who can use this feature

Organization owners and members with admin permissions can configure GitHub Copilot in their organization.

GitHub Copilot can be managed through personal accounts with GitHub Copilot for Individuals or through organization accounts with GitHub Copilot for Business.

GitHub Copilot is free to use for verified students, teachers, and maintainers of popular open source projects. If you are not a student, teacher, or maintainer of a popular open source project, you can try GitHub Copilot for free with a one-time 60-day trial. After the free trial, you will need a paid subscription for continued use. For more information, see "About billing for GitHub Copilot."

About GitHub Copilot settings in your organization

GitHub Copilot is a new AI-powered code completion tool that helps developers write code faster. GitHub Copilot is available through GitHub personal accounts with GitHub Copilot for Individuals or through organization accounts with GitHub Copilot for Business.

Configuring access to GitHub Copilot in your organization

Enabling access to GitHub Copilot for all current and future users in your organization

  1. In the top right corner of GitHub.com, click your profile photo, then click Your organizations.

    Screenshot of the dropdown menu under @octocat's profile picture. "Your organizations" is outlined in dark orange.

  2. Next to the organization, click Settings.

  3. In the "Code planning, and automation" section of the sidebar, click Copilot, and then click Access.

  4. Under "User permissions," to enable GitHub Copilot for all current and future users in your organization, select Purchase for all members.

  5. In the "Confirm seat assignment" dialog, to confirm that you want to enable GitHub Copilot for all current and future users in your organization, click Confirm.

  6. To save your changes, click Save.

Enabling access to GitHub Copilot for specific users in your organization

  1. In the top right corner of GitHub.com, click your profile photo, then click Your organizations.

    Screenshot of the dropdown menu under @octocat's profile picture. "Your organizations" is outlined in dark orange.

  2. Next to the organization, click Settings.

  3. In the "Code planning, and automation" section of the sidebar, click Copilot, and then click Access.

  4. Under "User permissions," to enable GitHub Copilot for selected teams or users in your organization, select Selected teams/users and click Save.

  5. If you are updating user access from the Allow for all members setting, in the "Confirm seat assignment" dialog, select how you want to start assigning access.

    • To unassign all members and then select those who should have access, select Start from scratch.
    • To keep all members who currently have access and then select those who should not have access, select Keep all users.
  6. If you selected Start from scratch, click Add people or Add teams to add individual users, or entire teams.

  7. If you selected Add people, in the "Enable GitHub Copilot access for selected members of ORGANIZATION" dialog, you can either search for individual members, or you can add members in bulk by uploading a CSV file.

    Screenshot of the enable access for selected members dialog

    • To search for members, type the member's username, full name, or email address in the search bar.

    • To add members in bulk, click Upload CSV, and then upload a CSV file including either the username or email address for each member you want to add, separated by a comma.

      Warning: When you upload a CSV file, GitHub Copilot will search all users on GitHub.com for matches. If the CSV includes users who are not members of your organization, they will be invited to join your organization when you click Add XX members.

    • Review the list of users generated from your CSV file. To confirm that you want to grant access to the listed users, click Add XX member(s) to access list, or to reject the list, click Cancel.

  8. If you selected Add teams, in the "Enable GitHub Copilot access for selected teams of ORGANIZATION" dialog, start typing the team name in the search bar, select the team you want to add and click Select a team above.

  9. If you selected Keep all users, review the full list of your organization members and selected the individuals whose GitHub Copilot access you want to revoke.

  10. Click the XX members selected dropdown, and then click Remove.

Disabling access to GitHub Copilot for your whole organization

  1. In the top right corner of GitHub.com, click your profile photo, then click Your organizations.

    Screenshot of the dropdown menu under @octocat's profile picture. "Your organizations" is outlined in dark orange.

  2. Next to the organization, click Settings.

  3. In the "Code planning, and automation" section of the sidebar, click Copilot, and then click Access.

  4. Under "User permissions," to disable GitHub Copilot for all users in your organization, select Disabled.

  5. To save your changes, click Save.

Disabling access to GitHub Copilot for specific users in your organization

Removing a user from the organization(s) that had assigned them a GitHub Copilot seat will automatically unassign the seat from them. Alternatively, you can unassign a member's GitHub Copilot seat, while preserving their membership. These changes will take effect from the beginning of the next billing cycle.

  1. In the top right corner of GitHub.com, click your profile photo, then click Your organizations.

    Screenshot of the dropdown menu under @octocat's profile picture. "Your organizations" is outlined in dark orange.

  2. Next to the organization, click Settings.

  3. In the "Code planning, and automation" section of the sidebar, click Copilot, and then click Access.

  4. Under "User permissions,", select Selected teams/users and then click Save.

    • In the "Confirm seat assignment" pop-up dialog, select Keep all users.
  5. Under "Manage access," in the search bar, type the member's username, full name, or email address.

    Screenshot of the search bar under "Manage access".

  6. To remove the member from the list of users who have access to GitHub Copilot, click Remove on the right side of the page.

Configuring suggestion matching policies for GitHub Copilot in your organization

GitHub Copilot includes a filter which detects code suggestions that match public code on GitHub. When the filter is enabled, GitHub Copilot checks code suggestions with their surrounding code of about 150 characters against public code on GitHub. If there is a match or near match, the suggestion will not be shown to you.

  1. In the top right corner of GitHub.com, click your profile photo, then click Your organizations.

    Screenshot of the dropdown menu under @octocat's profile picture. "Your organizations" is outlined in dark orange.

  2. Next to the organization, click Settings.

  3. In the "Code planning, and automation" section of the sidebar, click Copilot, and then click Policies.

  4. In the "Suggestions matching public code" dropdown, select Allow or Block to allow or block suggestions matching public code.

Further reading