> /v1/alternatives/github
Open source alternatives to GitHub[002]
GitHub git hosting, code review, issues, ci/cd, packages. Below are 2 self-hostable open source alternatives, ranked by GitHub popularity.
Gitea
Git with a cup of tea, painless self-hosted git service
★ STARS
55.5k
⑂ FORKS
6.7k
GitLab
A complete DevOps platform delivered as a single application.
★ STARS
24.3k
⑂ FORKS
5.8k
// EDITOR'S TAKE
Gitea and Forgejo are lightweight self-hosted GitHub clones; GitLab CE includes the full DevOps stack.
// FREQUENTLY ASKED
What is the best open source GitHub alternative?
Gitea is the most popular open source GitHub alternative by GitHub stars (55,474 stars). The other 1 options are ranked above.
Are these GitHub alternatives self-hostable?
Yes — every project listed here is open source and runs on your own infrastructure. Click into a project to see its license, stars, language, and current health status.
Are they free?
All projects shown are free and open source. Check each project's license page for the terms — most are MIT, Apache 2.0, or AGPL.