🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Branching Strategies: all 15 questions

Quiz: Branching Strategies · Question 9 of 15

Which is a branch protection rule on GitHub?

Which is a branch protection rule on GitHub?

  1. A.Branch names must be lowercase
  2. B.Require a pull request with at least one approval and passing checks before merging into main
  3. C.Only one branch may exist
  4. D.Commits must be signed with a password
Answer & explanation

Correct answer: Require a pull request with at least one approval and passing checks before merging into main

Protection rules stop direct pushes and unreviewed or failing code from reaching main.

Can you get the rest right without peeking?

Take the timed Quiz: Branching Strategies quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →