Default settings for GitHub Repository Branches General Settings Settings > General Branch Protection Rules Settings > Branches Add rule Check these settings