GitHub alternatives

GitLab is the most complete GitHub alternative, with built-in CI and a self-managed option, and Bitbucket suits teams on Jira. Codeberg is a free non-profit home for open source, Forgejo and Gitea are the easiest forges to self-host, and Upstream is a newer forge built for coding agents and large repositories.

The most complete GitHub alternative is GitLab, which has code hosting, issues and CI/CD in one product and can run on your own servers. Bitbucket is the natural fit for teams on Jira, Codeberg is a free non-profit home for open source projects, and Forgejo and Gitea are lightweight forges you can self-host. Upstream, made by Coline, is a newer forge built for many coding agents pushing at once and for large repositories, and it's still in alpha.

Coline makes this page, and Coline's Upstream is on the list. Each entry says who should pick something else.

ForgeBest forPaid plans, per user a monthFree planSelf-host
GitHubReference: the default forge, Actions and CopilotTeam $4, Enterprise $21Unlimited repositories, 2,000 CI/CD minutes a monthEnterprise Server
GitLabCode, issues and CI/CD in one productPremium $29 (yearly); Ultimate custom5 users per group, 400 compute minutesYes
BitbucketTeams on JiraStandard $3.65, Premium $8Up to 5 users, 50 build minutesData Center
CodebergFree and open source projectsNone; donationsFreeRuns Forgejo, which you can self-host
ForgejoSelf-hosting a light forgeFree softwaren/aYes
GiteaSelf-hosting with paid support availableEnterprise $19 (1-year commitment)Open source editionYes
UpstreamCoding agents, large files and repositoriesPro $20, Team $20 with Coline included, Enterprise $40100 repositories, reviews and merge queuesHosted only

Prices are US list prices, checked on each vendor's pricing page on the date above. Bitbucket's prices are the monthly per-user prices Atlassian lists. Gitea's Enterprise price was discounted to $9.50 when we checked.

GitLab

GitLab puts source control, issues, CI/CD and security testing in one product, as GitLab.com, a self-managed instance or a dedicated single-tenant service. The free tier covers 5 users per top-level group with 400 compute minutes a month and 10 GiB per project. Premium is $29 a user a month billed annually, much more than GitHub Team, and AI features run on GitLab Credits.

Pick something else if price per seat matters most.

Bitbucket

Bitbucket Cloud is free for up to 5 users with unlimited private repositories, 1 GB of LFS storage and 50 build minutes for Pipelines, its CI. Standard is $3.65 a user a month. It connects closely to Jira, which is the usual reason to choose it.

Pick something else if your team doesn't use Jira or needs more free CI minutes.

Codeberg

Codeberg is run by Codeberg e.V., a German non-profit, on its own hardware in Berlin, and it's free. It exists for free and open source work: private repositories are allowed only in small amounts for contributors, and commercial private hosting isn't offered. It runs Forgejo, with Woodpecker CI available on request and Codeberg Pages for sites.

Pick something else for a company's private code.

Forgejo

Forgejo is the free software forge behind Codeberg, built to be easy to install and maintain on your own server, with a GitHub-like interface. You run, update and back it up yourself.

Pick something else if nobody on the team wants to operate a server.

Gitea

Gitea is open source under the MIT license and free to self-host, with issues, pull requests, project boards, a package registry and Gitea Actions, which is compatible with GitHub Actions workflows. CommitGo, the company behind it, sells Gitea Enterprise with SAML SSO, audit logs and support at $19 a user a month with a one-year commitment, and a managed Gitea Cloud.

Pick something else if you'd rather not run a server.

Upstream

Upstream (upstream.codes) is Coline's Git forge. Its Change Requests save every push as a new version, so approvals and CI checks stay pinned to the exact code they covered and expire when new commits land.

  • Limits: files up to 1 GB, pushes up to 5 GB, and no limit on repository size. GitHub blocks files over 100 MiB.
  • Speed: Upstream's own run of ForgeMark, Entire's open-source benchmark, measured 10,527 pushes a second to one repository.
  • Moving over: import a repository with its full history and keep GitHub as a read-only mirror. A GitHub-compatible REST API works with Octokit.
  • Free plan: public and private repositories, required approvals, CODEOWNERS and merge queues.
  • Price: Pro is $20 a month for one person. Team is $20 a person a month and includes the whole Coline workspace, with chat, docs, tasks and Kairo.

Upstream is labeled alpha, and so is its API. Hosted CI runs through GitHub Actions with GitHub Sync while Upstream's own runs are in early access, and it has none of GitHub's community, Marketplace or 2,000 free Actions minutes. There's no self-managed edition. Pick something else if any of that matters today.

How to choose

  1. Want everything, including CI, from one vendor, possibly self-managed? GitLab.
  2. On Jira? Bitbucket.
  3. Open source and want a non-profit host? Codeberg.
  4. Want to run your own forge? Forgejo or Gitea.
  5. Running many coding agents, or hitting GitHub's file and push limits? Try Upstream on its free plan and keep GitHub as a mirror.

Related: Jira alternatives for small software teams, Chat, code review and issues in one place, Coline pricing, and Upstream docs.