Instead of GitHub, try one of these 13.
Every alternative is lined up against GitHub on what people actually switch for: price, open source, self-hosting, offline use and platforms. GitHub sits in the first row, so you can see what you give up.
How to read this. “Yes” means fully supported by the maker. “Partial” means it works with caveats. Likes reflect community popularity; vendors can’t pay for them or for placement. Our pick, marked in lime, is the option we would point most people leaving GitHub to first. How we compare.
GitHub alternatives at a glance
GitHub is a freemium dev platforms app (team $4/user). We compared 13 alternatives: 9 are open source, 9 are completely free, 6 can be self-hosted and 5 work fully offline. The most popular is GitLab, with 1.7k likes.
Complete DevOps platform, self-hostable for free.
Freemium · Open source · Self‑hostableLightweight, self-hosted Git service in a single binary.
Free · Open source · Self‑hostable · Works offlineCommunity-run fork of Gitea for code hosting.
Free · Open source · Self‑hostable · Works offlineMinimal, scriptable Git hosting built on plain email.
Paid · Open source · Self‑hostable