Restricting Git Connections to a single Vercel team

Restricting Git Connections to a single Vercel team

Last updated September 15, 2025

Protected Git Scopes are available on Enterprise plans

Those with the owner role can access this feature

Teams often need control over who can deploy their repositories to which teams or accounts. For example, a user on your team may accidentally try to deploy your project on their personal Vercel Account. To control this, you can add a Protected Git Scope.

Protected Git Scopes restrict Vercel account and team access to Organization-level Git repositories. This ensures that only authorized Vercel teams can deploy your repositories.

You can add up to five Protected Git Scopes to your Vercel Team. Protected Git Scopes are configured at the team level, not per project. Multiple teams can specify the same scope, allowing both teams access.

In order to add a Protected Git Scope to your Vercel Team, you must be an Owner of the Vercel Team, and have the required permission in the Git namespace.

For Github you must be an , for Gitlab you must be an , and for Bitbucket you must be a .

To add a Protected Git Scopes:

  1. Go to your Team's dashboard and select the Settings tab
  2. In the Security & Privacy section, go to Protected Git Scopes
  1. Select Add to add a new Protected Git Scope
  2. In the modal, select the Git provider you wish to add:
  3. In the modal, select the Git namespace you wish to add:
  4. Click Save

To remove a Protected Git Scopes:

  1. Go to your Team's dashboard and select the Settings tab.
  2. In the Security & Privacy section, go to Protected Git Scopes
  1. Select Remove to remove the Protected Git Scope

Was this helpful?

supported.