This is a list of alternatives to GitHub, that by default offer Git management in some way. If they also offer another type it will be tagged so. All self-hosted options are free and open source, using licenses that are compatible with the GPL.
Install it yourself on your own server for fun and profit.
- Fossil No Git +Fossil - Fossil is a simple, high-reliability, distributed software configuration management system. In addition to doing distributed version control like Git and Mercurial, Fossil also supports bug tracking, wiki, and technotes.
- Gogs - A painless self-hosted Git service.
- Gitea - Gitea is a community managed fork of Gogs, lightweight code hosting solution written in Go and published under the MIT license.
- HGKeeper No Git +Mercurial - HGKeeper is a simple Mercurial repository hosting tool that supports HTTP pulling and SSH pushing. Authentication is done via SSH keys and is fully configurable via Casbin.
- Gerrit Code Review - Gerrit provides web based code review and repository management for the Git version control system.
- Gitblit - Gitblit is an open-source, pure Java stack for managing, viewing, and serving Git repositories. It's designed primarily as a tool for small workgroups who want to host centralized repositories.
- OneDev - OneDev is a Self-hosted Git Server with Kanban and CI/CD
- GitSSB
Fair license
- Git repos on secure-scuttlebutt (SSB).
- GitPrep - GitPrep is GitHub clone. You can install portable GitHub system into unix/linux. You can create users and repositories without limitation. This is free software.
- Gitolite - Gitolite allows you to setup git hosting on a central server, with fine-grained access control and many more powerful features.
Phabricator +Mercurial +Subversion - Every application your project needs, all in one tool.Effective June 1, 2021: Phabricator is no longer actively maintained.- Tuleap +Subversion - Tuleap Open ALM is a Libre and Open Source software forge crafted in PHP/MySQL.
- Allura +Mercurial +Subversion - Apache Allura is an open source implementation of a software forge, a web site that manages source code repositories, bug reports, discussions, wiki pages, blogs, and more for any number of individual projects.
- Pagure - Pagure is a git-centered forge, python based using pygit2.
- Review Board - Review Board takes the pain out of code review, saving you time, money, and sanity so you can focus on making great software. Review Board provides basic support for git. If you have a central "official" git repository, Review Board will work well for you.
- Rhodecode +Mercurial +Subversion - Centralized control for distributed repositories. Mercurial, Git, and Subversion under a single roof.
- Kallithea +Mercurial +Subversion - (fork of Rhodecode) Kallithea, a member project of Software Freedom Conservancy, is a GPLv3'd, Free Software source code management system that supports two leading version control systems, Mercurial and Git, and has a web interface that is easy to use for users and admins.
- Sourcehut +Mercurial - (previously called sr.ht) This is an open source software suite for managing your software development projects.
- GitLab - GitLab is the first single application for all stages of the DevOps lifecycle.
- GitBucket - A Git platform powered by Scala with easy installation, high extensibility & GitHub API compatibility.
Lie back and read the Terms & Conditions to see how they harvest your data.
- Amazon CodeCommit - AWS CodeCommit is a fully-managed source control service that makes it easy for companies to host secure and highly scalable private Git repositories.
- Atlassian BitBucket +Mercurial - From best-in-class integration with Jira to a better code review, Bitbucket Cloud gives your team everything you need to build, track, and deploy your software better.
- Beanstalk +Subversion - A complete workflow to write, review & deploy code.
- Canonical Launchpad - Launchpad is a software collaboration platform.
- GitLab - GitLab is the first single application for all stages of the DevOps lifecycle.
- Google Cloud Repositories - Google Cloud Source Repositories provides Git version control to support collaborative development of any application or service, including those that run on App Engine and Compute Engine.
- Keybase - Every now and then you want to make a repository that's private. Not for an open source project, but for other stuff: research, writing a novel, family history, or a community's private files.
Phabricator - Every application your project needs, all in one tool.Effective June 1, 2021: Phabricator is no longer actively maintained.- Planio +Subversion - Everybody likes Planio, but developers really love it! Not only because everything is well structured and easy to access, but also because your Planio account comes with unlimited hosted Git and Subversion repositories.
- sr.ht +Mercurial - Welcome to meta.sr.ht! This is the account, billing, and security management hub for sourcehut, the hacker's forge.
- Tuleap +Subversion - Tuleap Open ALM is a Libre and Open Source software forge crafted in PHP/MySQL.
Fully independent from centralised hosts. Peer-to-Peer, hosted on each clients device.
- Radicle - Radicle enables developers to securely collaborate on software over a peer-to-peer network built on Git.
Full credit for the initial idea and list goes to sam_goody on HN.
To the extent possible under law, Ian Channing has waived all copyright and related or neighboring rights to this work.