Default branch protected
GitHub protects the default branch: a rule limits who can push to it, or how.
GitHub enforces rules on the default branch, through a branch protection rule or a ruleset: who may push to it, whether force pushes and deletion are blocked, whether checks must pass or a review must approve. It is a setting, not a file, so it is read from GitHub's API on the day of the run, with no monthly history; a ruleset of the organisation counts when the API reports it on the branch. The site counts a repo when GitHub's API reports its default branch as protected, whatever the rule says.
- Pro scene today: 95%, 209 of 221 pro repos
- In three months: –
- Kept: –
Pro 95% · Ladder 77% · 1.2×
Insight: 125 of the 209 protect it with an active ruleset and 84 without one.
In the pro repos
The 6 most starred of the 209 pro repos that have it today.
- firecrawl/firecrawl
- n8n-io/n8n
- ollama/ollama
- huggingface/transformers
- langgenius/dify
- langchain-ai/langchain
By month
Read today only, in GitHub's API: no monthly history.
Evidence
Observed in the repos only: no published study is quoted for it yet.
How it is detected
Looks for the default branch reported as protected by GitHub's API: a branch protection rule or a ruleset. Read in GitHub's API. How the method counts
Related practices
More in Secure, the most adopted first.