Flashcardsfor IT Certifications

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.

Last updated: · Report an error on this page

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