1. Gitea
Gitea (pronounced “git-tea”) is an open source fork of Gogs (another GitHub alternative), forked in 2016, and is actively maintained at the time of this writing. When it comes to GitHub alternatives, Gitea comes up a lot, appearing in many lists, and for good reason. Built on the GO language, it strives to be the fastest, and easiest way to get a self hosted GitHub clone up and running. Which I can definitely attest to, the hardest part about installing gittea is the MySQL setup, which in-case you missed it, we do have a quick-start guide available here on linuxman. It is cross platform so anywhere you can compile GO, you can run Gitea, it can also be docker-ized! Its also very lightweight, which I am always an instant fan of, you can even run Gitea off a raspberry pi!
| Pros | Cons | 
|---|---|
| 
The UI is very clean and focused | 
Gitea requires a MySQL database | 
| 
Great documentation | |
| 
Can be installed in many ways (docker, snap, binary) | |
| 
Lot’s of UI customization | |
| 
Lightweight | |
| 
Easy setup and install | 
2. GitLab
| Pros | Cons | 
|---|---|
| 
Free Community Edition | 
Requires a GitLab account | 
| 
Has many installation options | 
High minimum system requirements | 
| 
Supports major Linux distros | 
Requires external database (Redis only) | 
| 
Complete end to end DevOps platform | |
| 
Supports up to 500 users on a single instance | |
| 
Robust documentation | |
| 
CI/CD pipelines for software development | 
3. GitBucket
| Pros | Cons | 
|---|---|
| 
Super lightweight | 
Little to no documentation | 
| 
Only needs Java to run | 
Almost too minimal | 
| 
Expandable via plugins | |
| 
No external DB needed | 
4. GitPrep
| Pros | Cons | 
|---|---|
| 
Lightweight | 
Feels lacking in features | 
| 
No extra setup required | |
| 
Has issue tracking, wiki, pull requests, public/private repos | |
| 
SSL support with built in reverse proxy | |
| 
Supports HTTPS & HTTP | 
5. Apache Allura
Apache Allura is a self-described ‘software forge’, which at this point, we all know means GitHub clone—that’s not to say that Allura is a complete one, nor is it trying to be. It has a very different interface, that shares almost no resemblance to GitHub (unlike everything else on this list), depending on your preference, you may or may not like this presentation style, but in my opinion it just doesn’t do it for me. Looks aside, Allura is probably 2nd in terms of features on this list, because let me tell you Allura has a lot of them! Along with the regular stuff we’ve come to expect, it has a plugin system, which allows blogs, forums, and even custom themes. It’s also offers Oauth support for the security minded! Allura definitely feels more tailored towards a community or team, like GitLab, than an individual.
| Pros | Cons | 
|---|---|
| 
Support docker for an easy install! | 
Cluttered UI | 
| 
Git & SVN support | |
| 
Customizable UI | |
| 
Has issue tracker, wiki, and plugin support | |
| 
Good Documentation | 
Final Verdict on Github Alternatives
There you have it, 5 GitHub alternatives to checkout over a weekend. You gotta love having options especially when you can self host them. A lot of other GitHub alternatives you find out there are cloud based which is just really switching out GitHub with some other corporation that has the reigns over your data. Hopefully after checking some of these alternatives out, the next time you reach for GitHub, you can instead, spend some quality server time and host your code the cool way instead.
 
				 
								 
								 
								 
								 
								









 





