Branch protection and ruleset rules: which rule enforces what

This sheet compares Require pull request, Require status checks, Block force pushes, Restrict deletions, Restrict creations.

CriterionRequire pull requestRequire status checksBlock force pushesRestrict deletionsRestrict creations
What it enforcesEvery change goes through a pull request before mergingSpecified checks must pass before mergePrevents overwriting commit history via force pushPrevents deleting a matching branch or tagPrevents creating a new matching branch or tag

The verdict, the full comparison, 5 rules and 4 traps are part of GH-100 access. Unlock GH-100.