Go to the repository on GitHub
Click Settings
In the left sidebar, click Branches
Under Branch protection rules, view the protected branches listed there
To see protected branches across an organization, open each repository’s Branches settings
Use the GitHub API to list branch protection rules for a repository
Use the GitHub CLI to inspect branch protection rules for a repository
Use the repository search or organization repository list to identify repos with protected branches
