D6: Repository Visibility & Branch Protection
GH-900 GitHub Foundations exam practice questions · 10 flashcards
Question
Public repository?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Repository Visibility & Branch Protection practice questions and answers
- Public repository?Visible to everyone on the internet.
- Private repository?Visible only to explicitly granted people/teams.
- Internal repository?Visible to all members of the enterprise (Enterprise Cloud/Server).
- Changing visibility impacts?Forks, stars, watchers and features may change; be careful making private repos public.
- Branch protection rules?Require PR reviews, status checks, signed commits, linear history; block force pushes/deletions.
- Rulesets?Newer, layered rules for branches/tags at repo or org level with enforcement modes and bypass lists.
- Rulesets vs branch protection?Rulesets can be org-wide, multiple can apply, have evaluate mode and bypass actors.
- Require status checks?PR can merge only after specified CI checks pass.
- Require signed commits?Commits must be GPG/SSH/S/MIME signed and verified.
- Scenario: require 2 approvals and passing tests before merging to main in all org repos. Feature?Organization ruleset targeting default branches.