The collaboration layer on top of git — merge strategies, branch protection, and review workflow
Pull requests are where most engineering collaboration actually happens — code review, CI gate, and the final merge decision. Understanding the three merge strategies GitHub offers, and how branch protection rules enforce quality gates, is essential for both day-to-day work and designing team workflows that scale.
A PR is not a git concept — it's a GitHub feature layered on top of git. It's a request to merge one branch into another, with a conversation, CI status checks, and review approvals attached. The three merge buttons in GitHub correspond to git merge --no-ff, squash + a single new commit, and rebase onto the base branch.