If you want to self-host your own git repository there are now several good options. Below are the web based git interfaces you can self-host.
Gitea is a painless self-hosted Git service written in Go. It is small, fast, and lightweight. Some of the features people love about Gitea:
- Easy to install, deploy, and set up.
- Comes in a single executable.
- Can run on a small VPS.
- Both HTTPS and SSH access to repos.
- You can run it on a Raspberry Pi.
- Runs on Linux, Windows, and Mac.
- Works with multiple databases, including sqlite.
- Maintained by a team of developers.
- Has an issue tracker, PRs, and a Kanban board.
- Has webhooks, including CI.
- Has a REST API.
- Templates can easily be overriden.
Here at Hosted Gitea this is our favourite self-hosted git option for some reason!
Gogs is the project that Gitea was forked from and as such it is quite similar. The main difference is that Gitea is a community fork. Featurewise they are very similar with some users reporting a "fresher" and "younger feeling" to Gitea.
GitBucket is a Git web interface written in Scala.
It features easy installation, high extensibility & GitHub API compatibility.
It comes in a single
Some of the features people love about GitBucket:
- Public and private Git repos.
- GitLFS support.
- Repository viewer.
- Online editor.
- Issues, PRs and Wiki per repo.
- Activity timeline and email notifications.
- Account and group management with LDAP integration.
- Plug-in system.
Gitlab is the more "enterprisey" self-hosted git option. It includes numerous DevOps lifecycle features and provides a wiki, issue-tracking, continuous integration and deployment pipeline features. It's written in Ruby on Rails, Go, and uses Vue.js for the front-end. It is larger and harder to install and set up than some of the other offerings. You can purchase an enterprise edition with proprietary components and support.
GNU Savannah is an old-school VCS hosting system from the Free Software Foundation. As well as git it also offers CVS, GNU arch, Subversion, Mercurial, and Bazaar repositories. It includes mailing list, web hosting, file hosting, and bug tracking services. Savannah ran on the same software as the original SourceForge software initially. Use this if you really really love bare feet and beards.