Git · Middle · Question 19 of 75
What do protected branches on GitHub or GitLab typically enforce?
- 1A daily backup of the branch to another repository
- 2Encryption of the branch contents on the server
- ✓Correct answer: Required reviews and passing checks before merge
Explanation
They can also block force-pushes and deletions, and require linear history or signed commits. It's the server-side guarantee that hooks alone can't give.