Git hosting limits: repo, file, push and LFS
A 120 MB asset that GitHub refuses, a 1 GB workspace cap that turns a free Bitbucket account read-only, a 10 GiB project ceiling on GitLab.com that counts LFS too: size caps decide where a repository can live more often than the seat price does. The table lists every cap the six hosts publish, for the free plan and the first paid plan where it changes the number.
Size, seat and CI caps on six git hosts
| Cap | GitHub | GitLab.com | Bitbucket Cloud | Azure Repos | Codeberg | Forgejo (self-hosted) |
|---|---|---|---|---|---|---|
| Plans read | Free; Team $4 per user per month | Free; Premium $29 per user per month, billed annually | Free; Standard $3.65 per user per month | Basic: 5 users at no cost, $6 per user per month from the sixth | Free, donation-funded; no paid plan | Free software on your own server; caps are admin settings |
| Repository size | No hard cap published. Under 1 GB ideal, under 5 GB strongly recommended; 10 GB on-disk listed as the recommended maximum | Free: 10 GiB per project, repo plus LFS. Premium: 500 GiB per project, fixed | Free: 1 GB for all repos in the workspace combined. Standard: 4 GB per repo, warning at 2 GB, no workspace total | 250 GB; under 10 GB recommended | Ask first above 750 MiB of Git storage | None by default; [quota] ENABLED = true with the size:repos:all subject |
| Single file in Git | 100 MiB, blocked (Git warns from 50 MiB); 25 MiB via browser upload | Not published (attachments: 100 MiB) | 100 MB, blocked by a setting that is on by default and admins can switch off; web upload 1 GB | 100 MB guidance ("should be no larger"), not stated as enforced | Not published | No key for Git pushes; web uploads [repository.upload] FILE_MAX_SIZE, default 50 MB |
| Single push | 2 GB | 5 GiB, also the import cap | 3.5 GB | 5 GB; LFS objects do not count, bigger imports go through the web importer | Not published | No push-size key in the config cheat sheet |
| Git LFS included | Free: 10 GiB storage + 10 GiB bandwidth a month. Team: 250 GiB + 250 GiB | No separate quota: LFS counts inside the 10 GiB (Free) or 500 GiB (Premium) project limit | Free: 1 GB. Standard: 5 GB. Premium: 10 GB. Per workspace | Offered free; no quota published | Ask first above 1.5 GiB of LFS, packages and attachments combined | Unlimited by default; quota subject size:git:lfs |
| Largest LFS file | Free: 2 GB. Team: 4 GB | Not published separately | No per-file limit | Not published | Not published | [server] LFS_MAX_FILE_SIZE, default 0 (no limit) |
| Paid storage step | LFS: $0.07 per GiB stored per month, $0.0875 per GiB downloaded | $5 per month per 10 GiB, billed annually; cannot lift Premium's 500 GiB project cap | LFS: $10 per month per 100 GB, added automatically | Not published for Repos | Not sold; donations do not buy exceptions | Your disk |
| Seats and private repos | Unlimited private repos and collaborators on Free | Free: 5 users per private top-level group. Premium: no cap | Free: up to 5 users. Standard: unlimited | 5 Basic users free, unlimited private repos | Up to 100 MB of private content for contributors to free/libre projects; more on request | Unlimited unless [repository] MAX_CREATION_LIMIT is set (default -1) |
| Hosted CI included | Free: 2,000 Actions minutes a month. Team: 3,000 | Free: 400 compute minutes a month. Premium: 10,000 | Free: 50 build minutes a month. Standard: 2,500 | 1,800 minutes a month on 1 Microsoft-hosted parallel job | Woodpecker CI, on request | None hosted; you run the runners |
Units (GB, GiB, MiB) are copied as each vendor prints them. Prices in USD. "Not published" means the vendor's own docs and pricing page give no number for that cap on 23 November 2026, so none is guessed here. Gitea Cloud is left out because its hosted prices are not readable on its pricing page without running the page's scripts; self-hosted Gitea shares the LFS_MAX_FILE_SIZE, FILE_MAX_SIZE and MAX_CREATION_LIMIT keys with Forgejo but has no quota section.
What each host does when you cross a cap
| Host | Cap crossed | What the docs say happens |
|---|---|---|
| GitHub | File over 100 MiB | The push is rejected; the file has to go to Git LFS or out of history. |
| GitHub | Repository keeps growing | No automatic stop. If the repo strains the service, GitHub Support may email and ask for corrective action. |
| GitHub | LFS quota used up | With a $0 budget, LFS is blocked for the rest of the calendar month. With no payment method, clones get pointer files and new LFS pushes fail once storage is full; LFS is off until next month once bandwidth is used. With no budget limit, the overage is billed. |
| GitLab.com | Free project over 10 GiB | The project is set read-only and pushes are refused until it shrinks or extra storage is bought. |
| GitLab.com | Push or import over 5 GiB | Cut off at Cloudflare in front of GitLab.com. |
| Bitbucket Cloud | Free workspace over 1 GB | The whole workspace goes read-only. Atlassian announced the cap on 27 January 2025 and delayed enforcement to 29 May 2025. |
| Bitbucket Cloud | Free workspace over 5 users | All private repositories in the workspace are set read-only. |
| Bitbucket Cloud | Paid repo at 2 GB, then 4 GB | A warning in the repository details at 2 GB. At 4 GB new commits are refused; only a push that undoes the latest commits gets through. |
| Bitbucket Cloud | Push over 3.5 GB | Fails with remote: fatal: pack exceeds maximum allowed size. |
| Bitbucket Cloud | LFS over the plan's allowance | Another 100 GB is added automatically and the monthly bill rises by $10. |
| Azure Repos | Push over 5 GB | Rejected; a large migration has to use the web import instead of the command line. |
| Azure Repos | Repo near 250 GB | Writes pause with "The Git pack file limit has been reached" until the packing job finishes, then resume. |
| Codeberg | Past 750 MiB Git or 1.5 GiB other storage without asking | No automatic block is documented; Codeberg reserves the right to deny service when it judges usage unreasonable. |
| Forgejo | Quota exceeded (quota enabled) | New operations that would add data are refused; an operation already running is allowed to finish. The quota system arrived in v9.0 and the docs still call it early support. |
Which cap a repository meets first
Binary-heavy repos (game assets, design files, model weights) meet the LFS limits first. GitHub Free stops at 10 GiB of LFS storage and 2 GB per LFS file; Team moves that to 250 GiB and 4 GB. Bitbucket sets no per-file LFS limit but tops up storage on its own, at $10 per 100 GB a month. Azure Repos calls LFS free and publishes no quota, though SSH does not work for repos with LFS-tracked files there.
A long-lived monorepo meets the repository cap first. GitLab.com Free holds 10 GiB per project with LFS included, Bitbucket's paid plans stop new commits at 4 GB per repository, and Azure Repos goes to 250 GB. GitHub publishes recommendations rather than a ceiling.
A small private team on a free plan meets seat and workspace caps: 5 users on GitLab.com Free, Bitbucket Free and Azure Basic, plus Bitbucket's 1 GB across every repository in the workspace. GitHub Free has no seat cap on private repositories. Codeberg is open only to free/libre projects, and Forgejo is the row to read if you would rather set every cap yourself; its licence moved to GPL v3 or later with v9.0 on 16 October 2024, two months after the August 2024 announcement, and it has been a hard fork of Gitea since February 2024.
Sources, read 23 November 2026: GitHub repository limits · GitHub large files · GitHub LFS file sizes · GitHub LFS billing · GitHub pricing · GitHub pricing calculator · GitLab.com settings · GitLab storage · GitLab pricing · Bitbucket pricing · Bitbucket repository size · Bitbucket size limits · Bitbucket LFS storage · Bitbucket read-only mode · Bitbucket Free plan change · Azure Repos Git limits · Azure Repos large files · Azure DevOps pricing · Codeberg FAQ · Codeberg terms · Forgejo config cheat sheet · Forgejo quota · Forgejo hard fork · Forgejo GPL · Forgejo v9.0 · Gitea config cheat sheet