Free tierGitHub's free tier is best for individuals — unlimited private repos with 2k CI minutes. GitLab caps at 5 users. Codeberg is free forever but FOSS-focused. Gitea/SourceHut require either self-host work or paid plans for full features.
GitHubbest · unlimited public + private + 2k CI mins
GitLabgood · 5 user cap · 400 CI mins
Giteayes · self-host free forever (MIT)
Codebergyes · free hosted forever (donation-funded)
SourceHutlimited · public alpha tier without builds
Cheapest paid tierSourceHut $5/mo is the cheapest paid option (no per-user pricing). Gitea Cloud at $9.50/mo flat is solid value. GitHub Team at $4/user is cheap per-seat but multiplies fast. GitLab Premium jumps to $29/user.
GitHub$4/user Team
GitLab$29/user Premium (annual only)
Gitea$9.50/mo Cloud · flat
Codebergdonate optional · no required paid
SourceHut$5/mo (pay-what-you-can)
Open sourceGitea MIT is the most permissive open-source license. GitLab Community Edition exists but the SaaS adds proprietary features. SourceHut and Codeberg are AGPL. GitHub is closed source.
GitHubno · proprietary
GitLabopen core · Community Edition exists
Giteayes · MIT · most permissive
Codebergyes · AGPL (Gitea fork-based)
SourceHutyes · AGPL
Self-hostableGitea's single Go binary is the easiest self-host in this set. GitLab Self-Managed works but requires real ops (Postgres, Redis, Sidekiq, GitLab Runners). GitHub Enterprise Server is paid-only. Codeberg uses Gitea-derived self-host. SourceHut is harder to self-host (multiple services).
GitHubGitHub Enterprise Server (paid only)
GitLabGitLab Self-Managed (free + paid tiers)
Giteayes · single Go binary · $5 VPS
Codebergyes · Gitea-based self-host
SourceHutyes · ops-heavy · single proprietor
CI/CDGitHub Actions has the largest marketplace and best ecosystem. GitLab CI is the most integrated DevOps experience. Gitea Actions adopted the GitHub Actions YAML format, so workflows are portable. Codeberg uses Woodpecker. SourceHut's CI is intentionally simple.
GitHubGitHub Actions · best ecosystem · 2k mins free
GitLabGitLab CI · powerful · 400 mins free
GiteaGitea Actions (GitHub Actions compatible)
CodebergCodeberg CI (Woodpecker) · for FOSS
SourceHutbuilds.sr.ht · simple · subscription-only
Network effectsGitHub's 100M+ developers is the network-effect moat — discovery, contributors, employer signals all flow from being there. GitLab has a strong DevOps community. The smaller alternatives trade network reach for principles, control, or simplicity.
GitHubbest · ~100M developers · ecosystem
GitLabgood · DevOps platform community
Giteagrowing · self-host community
Codeberggrowing · FOSS-aligned developers
SourceHutsmall · principled community
Best for shapeEach fits a different shape. GitHub for default open-source work. GitLab for teams that genuinely use DevOps platform features. Gitea for self-hosters. Codeberg for FOSS-aligned developers. SourceHut for minimalists who want a principled stand.
GitHubgeneral dev work · open-source collab
GitLabDevOps platform · CI/CD-heavy teams
Giteaself-host · privacy-first · simple infra
CodebergFOSS principles · EU governance · donation-funded
SourceHutminimalist · CLI-first · principled choice