Skill 2.2.3
Configure permissions in the source control repository
Key Concepts
In Azure Repos, permissions are set at project, repository and branch level. Contributors can normally push, and permissions such as Force push, Bypass policies and Manage permissions should be restricted. An explicit Deny overrides an Allow.
In GitHub, repository roles are Read, Triage, Write, Maintain and Admin. Teams should receive roles, rather than individuals, because this makes access easier to review.