All alternatives

Open source alternatives to GitHub

Git repository hosting and software development collaboration platform. These 3 projects cover the same ground. They are ordered by GitHub stars, with the licence and last commit shown so you can check whether a project is maintained before you move a team onto it.

99.4k stars combined3 projects2 committed in the last 30 daysgithub.com

The shortlist

Highest star count first. Not a review score.

GiteaSelf-hosted

Developer tools · Go

59.4k

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD

Alternative to GitHub

Licence
MIT
Last commit
3 days ago
Repo
go-gitea/gitea

GitLabSelf-hosted

Developer tools · Ruby

24.6k

GitLab CE Mirror | Please open new issues in our issue tracker on GitLab.com

Alternative to GitHub

Licence
Not detected
Last commit
1 month ago
Repo
gitlabhq/gitlabhq

OneDevSelf-hosted

Developer tools · Java

15.4k

The Unified and Autonomous Development Platform

Alternative to GitHub

Licence
MIT
Last commit
6 days ago
Repo
theonedev/onedev

Before you switch

Three facts from this list, not a sales pitch.

Activity
2 of 3 projects had a commit in the last 30 days.
Licences
MIT (2), Not detected (1).
Largest project
Gitea with 59.4k stars, last commit 3 days ago.

Stars and commits read from GitHub on 2 December 2026. A star is a bookmark, not a guarantee; check the licence and run the install on a spare machine before you migrate.

Where to run your pick

Many of these projects ship as a Docker image or a single binary. A small VPS is enough to try one; move to a managed platform when other people depend on it.

Plain links today; paid placements are labelled. Sponsor this page.

Know a project we missed?

Send the repository URL; we check it against GitHub before adding it.

Suggest a project

Source for every listing: GitHub. Not affiliated with GitHub or the projects listed.