Before you act
- Confirm that the scope matches your case.
- Keep recommendations, enforced limits, exceptions, and unstated details distinct.
- Open the official source before relying on the rule for a consequential decision.
Source-backed platform rule
See the direct answer, scope, qualifiers, and current official evidence for GitHub repository on disk size limit.
RuleRoster is independent and is not affiliated with or endorsed by GitHub.
Direct answer
GitHub recommends keeping a repository's compressed .git folder at or below 10 GB.
Published evidence
Recommended maximum: 10 GB for the compressed .git folder per repository. Larger repositories may slow fetch operations and increase clone times; those effects are not guaranteed enforcement. Suggested mitigations: use Git LFS for binary files and store generated files outside Git.
Service: GitHub.com. Plans: Enterprise Cloud, Free, Pro, Team. Country: not stated. Device: not stated. Account class: not stated. Policy version: not stated.
Evidence trail
GitHub · verified September 23, 2026
Source content: GitHub Docs by GitHub, licensed under CC BY 4.0: https://github.com/github/docs/blob/0a4d351cc1ff7134764f874808fb6829afbb73dd/LICENSE. Summarized and adapted by RuleRoster; verified 2026-09-23. No endorsement by GitHub is implied.
Interpretation and accountability
If the source or summary appears wrong, submit precise evidence for human review.