Forgejo/Gitea on a VPS (2026): Private Git Hosting

Self-hosted Git is fast and simple with Forgejo or Gitea.
Table of Contents
- Why self-host Git
- VPS specs
- Install overview
- CI basics
- Backups
1. Why self-host Git
Control access, privacy, and performance.
2. VPS specs
Minimal CPU and SSD storage are enough.
3. Install overview
Use Docker; secure reverse proxy.
4. CI basics
Run lightweight CI or webhooks for builds.
5. Backups
Backup repos and user data weekly.
See /vps-hosting for plans.
