Git hosting

A Git forge gives you repositories with a web interface, issues, pull requests, and usually CI. Hosted services do this well, so running your own is a choice, not a requirement. People self-host to keep code on infrastructure they control, to avoid per-seat pricing, or to run private repositories for a small team or a homelab.

This section compares the main self-hosted forges. Gitea and Forgejo are light enough for a small VPS or a home server; GitLab does more but needs far more memory and upkeep. You will find a plain explanation of Gitea, comparisons of Gitea with Forgejo and with GitLab, a Docker Compose setup, a guide to Gitea Actions runners, and a GitLab install and maintenance guide.

Two articles look further ahead: what ForgeFed is and how far federation between forges has come, and where federated code hosting stands today.

Whatever you pick, plan for TLS, regular upgrades, backups you have restored at least once, and CI runners that cannot be abused by untrusted pull requests.

Articles in this section