GitHub Teams and repo access governance

Practical guidance for understanding who can access each GitHub repository, why that access exists, and how to change it without creating a new permission problem.

Start with the job in front of you: explain the access model, audit the live state, fix drift, or choose the right operating approach.

Understand

Explain every route to repository access

Use these guides when the problem is terminology, inheritance, effective permissions, or an unexpectedly broad audience.

Guide

GitHub Teams hierarchy and repository permissions

See how parent grants, child teams, and direct team permissions combine into effective repository access.

Read the hierarchy guide

Guide

GitHub Direct access vs Organization access

Use GitHub's exact access labels to separate durable team access from justified individual exceptions.

Read the access guide

Use case

Private GitHub repository visibility

Distinguish a repository's visibility setting from the teams, roles, and direct grants that define its real audience.

Review effective visibility

Decision guide

Blanket GitHub Write access risks

Assess broad Write against branch controls, Actions, packages, secrets, and a safer contribution model.

Review the Write decision

Audit

Turn the live organization into a review queue

Start with the free audit, or use the manual guides when you need to define the review before connecting a tool. For a product overview, see the GitHub access audit tool; consultants can use the fractional CTO workflow.

Free tool

Free GitHub access audit

Find direct grants, private repositories without team coverage, and high-privilege teams before signup.

See the audit output

Checklist

GitHub repository permissions audit checklist

Review stale admins, direct grants, collaborators, inherited access, service accounts, and evidence.

Use the audit checklist

Guide

Audit GitHub repository access in a private organization

Follow a practical sequence for inventory, exceptions, effective roles, evidence, and remediation decisions.

Read the audit guide

Operating model

GitHub governance and permission drift

Define ownership, least privilege, repository lifecycle, review cadence, and the evidence that proves the model.

Read the governance guide

Fix

Change access with a reviewable diff

Use these workflows after the current access paths and desired ownership model are understood.

Workflow

Export, review, and apply GitHub repo-team access changes

Edit the current mapping, preview the proposed diff, and apply only after the change set is clear.

Read the workbook workflow

Workflow

Manage visibility with nested teams

Move broad parent access toward narrower ownership teams while preserving the access people still need.

Read the nested-team workflow

Workflow

Delegate GitHub repo-team access without org admin

Separate day-to-day access work from organization ownership and keep changes reviewable.

Read the delegation guide

Playbook

GitHub offboarding playbook

Remove team membership, direct access, outside collaboration, tokens, and temporary exceptions coherently.

Use the offboarding playbook

Compare

Choose the tool that matches the operating job

Separate native team management, local audit scripts, organization-as-code, settings enforcement, and access operations before comparing features.

Landscape

GitHub access tools compared

Compare GitHub Teams, Enterprise controls, Terraform, safe-settings, organization-as-code, and repod.

Compare all approaches

Policy enforcement

github/safe-settings vs repod

Decide whether the immediate need is settings enforcement, access-policy review, or both controls together.

Compare safe-settings and repod

Local scanner

repod vs gh-iga

Compare a local access report with a persistent, delegated review and remediation workflow.

Compare the audit approaches

Organization as code

repod vs github-org-manager

Compare a configuration source of truth with an access review, delegation, and evidence workflow.

Compare the operating models