What is a protected branch on GitHub?
A protected branch is a branch governed by repository rules that restrict how changes can be made. Protection can require pull requests, reviews, status checks, signed commits, linear history, or other conditions before changes are accepted.