Gitfed
self-hosted & federated git

Your code. Your server. Your rules.

Gitfed is a git server you run yourself — so you keep ownership of your code and your data, without giving up the ability to collaborate with anyone, wherever they host their own instance.

Ownership

Your code and your data stay on your machine, your server, your infrastructure. No third-party platform can mine it, shut it down, or cut off your access.

Federation

Each instance stays independent, but can trust others — a bit like email. One account, on your own instance, is enough to push code to an instance that trusts you.

Control

Public or private, read or write, per repo, per person. You decide — no platform-wide policy gets imposed on you.

One account at home, not one everywhere

When someone from another instance wants to collaborate on one of your repos, they don't create an account with you: their home instance signs a certificate proving who they are, and your instance checks that it trusts that instance. Once trust is established, everything happens locally — no network call on every `git push`.

Your instance alice@chez-moi.fr A friend's instance bob@ailleurs.net certificate trust verified no "bob" account on alice's instance
Full changelog

Ready to take back control of your code?

Gitfed is open-source and self-hosted — one Go binary, one embedded database, no external dependencies.