GitHub alternatives in 2026
Seven places to host Git next to GitHub, on speed, size limits, free plans and price, sourced from each forge's own docs.
The best GitHub alternative depends on why you're leaving. Upstream (upstream.codes) fits teams running many AI coding agents, big repositories and anyone who wants merge queues on private repositories for free. GitLab fits teams that want CI/CD, registries and security scanning in one product. Bitbucket fits teams built around Jira. Forgejo and Codeberg fit open-source projects and self-hosting. Entire and Cursor Origin are newer forges built around their own agent workflows.
Seven forges side by side
| Forge | Free plan | Paid plans | Pushes a second, one repository | Repository size | Merge queue on private repositories |
|---|---|---|---|---|---|
| Upstream | Public and private repositories, reviews, merge queues | Pro $20 a month; Team $20 per person | 10,527 | No limit | Free |
| GitHub | Public and private repositories | Team $4 per user; Enterprise $21 per user | 4.7 (7,200 claimed for Rubicon, in private preview) | Under 10 GB recommended | Enterprise Cloud |
| GitLab | Repositories up to 10 GiB | Premium $29 per user, billed yearly | 10 | 10 GiB on Free, 500 GiB on paid plans | Premium (merge trains) |
| Bitbucket | Up to 5 users | Standard $3.65 per user; Premium $8 | Unpublished | Pushes stop at 4 GB | Available |
| Entire | Private repositories; public ones on the roadmap | See Entire's site | 418 | Unpublished | Trails: review agents score every push |
| Cursor Origin | Not on Free or Plus | Paid Cursor plans | 65 in Entire's run; 120 to 300+ in Cursor's post | Unpublished | Unpublished |
| Forgejo and Codeberg | Free software you host; Codeberg hosts open source for free | Your own server | Depends on your server | Your disk | Not built in |
Which one fits
Many AI agents, big repositories: Upstream
10,527 pushes a second to one repository, no repository size limit, files up to 1 GB, and merge queues, CODEOWNERS and branch protection on the Free plan. GitHub can stay on as a read-only mirror while you move. Native CI runs are in early access, so most teams keep running GitHub Actions through GitHub Sync for now.
Everything in one product: GitLab
CI/CD, registries and security scanning built in, and a self-managed edition. Free repositories stop at 10 GiB, and Premium is $29 per user a month.
Jira and Confluence teams: Bitbucket
Close Jira integration and Pipelines for CI, at a low price per seat. Free is for up to 5 users, and pushes stop when a repository reaches 4 GB.
Open source and self-hosting: Forgejo or Codeberg
Forgejo is community-run software you host yourself. Codeberg is a non-profit that hosts open-source projects on Forgejo for free.
Agent-scored review, regional storage: Entire
Review agents score every push, and private repositories can live in the US, EU, India or Australia. Public repositories are on its roadmap.
Teams already on Cursor: Cursor Origin
Built into Cursor's editor and agents, with Code Tours for reviewers. It's in early beta and isn't on Free or Plus.
Questions about GitHub alternatives
- Can I move off GitHub without breaking clones or CI?
- Yes. Import the repository into Upstream with its full history and make Upstream the source of truth. Upstream keeps GitHub up to date as a one-way, read-only mirror, so anything that clones from GitHub keeps working, and GitHub Actions can keep running your workflows.
- Which GitHub alternative has free merge queues on private repositories?
- Upstream. Its Free plan includes merge queues, CODEOWNERS and branch protection on private repositories. GitHub needs a paid plan for protected branches on private repositories and Enterprise Cloud ($21 per user a month) for merge queues on them.
- What is the fastest Git forge?
- Upstream, on ForgeMark, Entire's open-source Git forge benchmark: 10,527 pushes a second to one repository. GitHub claims 7,200 for Rubicon, its engine in private preview. In Entire's runs, Entire took 418, Cursor Origin 65, Pierre 15, GitLab 10 and GitHub 4.7.
Measured with ForgeMark, Entire's open-source benchmark: pushes with 6,144 agents pushing to one repository for 15 minutes, from Google Cloud on the US West Coast; clones with 128 agents, from AWS us-west-2. Other forges' numbers are their own or from Entire's runs. Other forges' facts are from GitHub pricing, GitHub repository limits, GitLab.com limits, GitLab pricing, Bitbucket pricing, Bitbucket repository size limits, Entire's launch post, Cursor's Origin docs, Forgejo and Codeberg.
Move to Upstream
Public and private repositories, merge queues and Upstream Rapid are free on every plan.
curl -fsSL https://downloads.coline.dev/upstream/install.sh | sh