What is the GitHub Enterprise 'enterprise-level repository policy' and what can it control?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Enterprise policies are the ultimate governance layer. As an enterprise admin, you can lock down settings that org owners can't override — repository visibility defaults, who can fork private repos, Actions policies. Organizations operate within the guardrails you set.
Full explanation below image
Full Explanation
GitHub Enterprise-level repository policies allow enterprise owners to set mandatory standards that apply across all organizations in the enterprise. Policies can: (1) Repository visibility — control whether organizations can create public, internal, or private repositories. (2) Forking — enforce whether private/internal repos can be forked. (3) Base permissions — set minimum or maximum base permissions organizations can configure. (4) GitHub Pages — restrict who can publish GitHub Pages sites. (5) Repository retention — configure archiving and deletion policies. Enterprise policies can be set to 'Enforced' (no org override allowed) or 'Allowed/not allowed' with org-level flexibility. This two-level governance model allows enterprises to set hard limits while giving organizations flexibility within those limits. Policies apply to all organizations, including pre-existing ones.