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 push size limit.
RuleRoster is independent and is not affiliated with or endorsed by GitHub.
Direct answer
GitHub enforces a maximum push size of 2 GB per push.
Published evidence
Enforced maximum: 2 GB per push. GitHub states that this ceiling is enforced. Specific enforcement action: not stated.
Service: GitHub.com. Plans: Enterprise Cloud, Free, Pro, Team. Country: not stated. Device: not stated. Account class: not stated. Policy version: not stated.
Worked check
| Measurement basis | Rule reference |
|---|---|
| Each file uploaded through the browser | Browser upload size |
| Each Git object | Single-object size |
| The complete Git push | This record |
| The repository on disk | Repository on-disk size |
Use the matching record’s scope, units, and verification dates. Passing one size check does not establish that another is satisfied.
A proposed commit contains one 120 MiB binary file. Even though that file is smaller than the 2 GB total push ceiling, it exceeds the separate object and file ceilings. Checking the total push size alone misses the reason GitHub can reject it.
# Read-only: inspect blob sizes in the latest commit
git ls-tree -r --long HEADWorked guidance checked against GitHub documentation October 5, 2026. The rule’s verification and review dates are shown separately.
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.