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
A file can fit a Git push and still be too large for GitHub's web uploader. This reference isolates the browser ceiling and records how GitHub's documentation variable supplies the numeric value.
RuleRoster is independent and is not affiliated with or endorsed by GitHub.
Direct answer
GitHub.com repository uploads through a browser are limited to 25 MiB per file. This is a browser-upload limit, not the separate Git push or LFS limit.
Published evidence
The browser upload ceiling is 25 MiB for each file. A limit on file size is not an authorization to upload its contents.
This record covers repository uploads through the GitHub.com browser interface. Git pushes, Git LFS and release assets have separate limits. Keep MiB distinct from decimal MB.
The official article references large_files.max_github_browser_size. Its numeric value is bound to the GitHub Docs variables file at the same immutable commit; both documents are required.
Evidence trail
GitHub · verified October 14, 2026
GitHub · verified October 14, 2026
Adapted from GitHub Docs by GitHub and contributors under Creative Commons Attribution 4.0 International: https://creativecommons.org/licenses/by/4.0/. Source: https://github.com/github/docs/tree/d67ced7268844cdf7d856f4eb0b9b2018406da29. RuleRoster extracted and paraphrased the scoped limit and bound the article to its variables. No affiliation or endorsement is implied.
Interpretation and accountability
If the source or summary appears wrong, submit precise evidence for human review.