Self-Hosted GitHub Alternatives
GitHub is not available as a self-hosted solution but there are plenty of alternatives for power users and business that want to host a solution on-premise. The best Self-Hosted alternative is Bitbucket, which is free. If that doesn't suit you, our users have ranked more than 50 alternatives to GitHub and many of them are available as a self-hosted solution so hopefully you can find a suitable replacement. Other interesting Self-Hosted alternatives to GitHub are Gitea, Gogs, GitBucket and Phabricator.
GitHub alternatives are mainly Source Code Hosting Services but may also be Version Control Systems or Project Management Tools. Filter by these if you want a narrower list of alternatives or looking for a specific functionality of GitHub.- Freemium • Proprietary
- Mac
- Windows
- Online
- Android
- iPhone
- Android Tablet
- iPad
- Freemium • Proprietary
- Mac
- Windows
- Linux
- Online
- Self-Hosted
Code collaboration version control. Offers hosted (freemium) for limited (5) users, and a commercial self-hosted for a subscription. Free licenses are available for qualified open source projects, nonprofits, and classrooms.
Bitbucket vs GitHub opinions
jamilsonjuniorUnlimited private repositories makes Bitbucket perfect for personal and scholar projects.
Bitbucket is an awesome alternative to GitHub for personal projects.
KorwinI wouldn't recommend one FOSS adversary as an alternative to another FOSS adversary.
ChrisWaygFree private repositories
RonBowmanGreat if using other Atlassian products. Still very good if using it on its own.
As good as the King GitHub but free private repositories
wavisMercurial support, Jira integration, free unlimited private repos, and support from Atlassian make Bitbucket my corporate code repo service of choice.
- Free • Open Source
- Mac
- Windows
- Linux
- BSD
- Self-Hosted
- Raspberry Pi
- Cloudron
Gitea is a community managed fork of Gogs, lightweight code hosting solution written in Go and published under the MIT license.
Gitea vs GitHub opinions
FreeplayYou can run your own instance, but you can use other instances like Codeberg as well!
Easy setup and lots of functionality
lebauxSelf-hosted, simple, great.
6543gitea v1.9.4 and newer has all features you want and know from github ... but selfhosted and lightweight! And if there is one feature missiong its sure on a list
pbshaanEasy, minimal setup but with basic fetures. Good for small teams.
kolaenteVery lightweight, completly opensource and only communty based.
- Free • Open Source
- Mac
- Windows
- Linux
- Self-Hosted
- Go (Programming Language)
- Cloudron
The easiest, fastest, and most painless way of setting up a self-hosted Git service. With Go, this can be done with an independent binary distribution across ALL platforms that Go supports, including Linux, Mac OS X, Windows and ARM.
Gogs vs GitHub opinions
Self-hosted and really light weight. Installs on docker in just a few minutes. Super excellent!
petardudasIt's very simple to set up.
- Free • Open Source
- Mac
- Windows
- Linux
- Online
- Self-Hosted
- Scala
GitBucket is the easily installable open-source GitHub clone written with Scala.
GitBucket vs GitHub opinions
kounoikeGitBucket has most powerful API compatibility to GitHub.com/GitHubEnterprise!
- Free • Open Source
- Mac
- Linux
- Online
- BSD
- Self-Hosted
- PHP
- Cloudron
Phabricator is a collection of open source web applications that help software companies build better software.
Discontinued
Effective June 1, 2021: Phabricator is no longer actively maintained.https://admin.phacility.com/phame/post/view/11/phacility_is_winding_down_operations/
- Free • Open Source
- Mac
- Windows
- Linux
- Online
- BSD
- Self-Hosted
Trac is an enhanced wiki and issue tracking system for software development projects. Trac uses a minimalistic approach to web-based software project management. Our mission is to help developers write great software while staying out of the way.
Trac vs GitHub opinions
somepeterIts usability is a trip into the past I did not miss.
RonBowmanThe best issue tracker money can b... oh, wait, it's free!
- Freemium • Open Source
- Online
- Self-Hosted
- Software as a Service (SaaS)
sourcehut is a network of useful open source tools for software project maintainers and collaborators, including git repos, bug tracking, continuous integration, and mailing lists.
SourceHut vs GitHub opinions
Minimal but usable, perfectly lightweight
- Freemium • Proprietary
- Linux
- Self-Hosted
- Software as a Service (SaaS)
Tuleap is the first fully libre and open source software (GPL licence) for Enterprise Application Lifecycle Management. Tuleap is provided by the Enalean company and the community members.
- Free • Open Source
- Mac
- Windows
- Linux
- BSD
- Self-Hosted
Mantis Bug Tracker is a free and open source, web-based bug tracking system. It is written in the PHP scripting language and works with MySQL, MS SQL, and PostgreSQL databases and a webserver. MantisBT can be installed on Windows, Linux, Mac OS, OS/2, and others.
- Free • Open Source
- Mac
- Windows
- Linux
- Self-Hosted
- Perl
GitPrep is a GitHub clone. You can install portable Github system into Unix/Linux. You can create users and repositories without limitation. This is free software.
GitPrep vs GitHub opinions
For the self-hosting category, it has literally zero dependencies. Every repository is plain as-is-on-the-harddrive, so you have no troubles like in other alternatives with bare repos vs. real repos. Simple install, zero dependencies, works on every VPS.