Best Self-Hosted Git Servers
Self-hosting Git stopped being a compromise years ago.
Updated 2026-10-18 · 2 options compared
Which one should you pick?
This page compares Git servers only. Gitea is the fuller, faster-moving option with issues, pull requests, packages and CI; Gogs is the smaller, more minimal server for modest hardware and simpler needs. Deployment tools such as Dokku, Coolify and Dokploy solve a different problem — getting code from a push to a running application — and are not ranked as Git servers here.
What actually decides it
- Instance size decides more than features. Gitea idles in a few hundred megabytes; a full GitLab install wants several gigabytes and a background worker pool. On a €5 VPS that difference is the whole conversation.
- Back up the repository and the database. Issues, pull requests, users and settings live in the database, not in the Git objects. An rsync of the repositories directory alone will restore your code and lose your entire issue history.
- Decide your auth story before you invite anyone. LDAP, OIDC through a self-hosted identity provider, or plain local accounts — retrofitting single sign-on after you have twenty users is unpleasant.
- Log in with SSH keys, not passwords. Set that expectation on your own account first, and disable password authentication for Git before you expose the instance.
- A self-hosted Git server is not a backup. It is one more machine that can die. Mirror your repositories to a second location, ideally one you do not control.