Self-Hosted Alternatives to GitHub

7 apps you can run on your own server instead of GitHub, ranked by GitHub stars. Data refreshed Nov 2026.

Quick comparison

# App Stars Licence Language Last update
1 Gitea ★ 59k MIT Go Nov 2026
2 Gogs ★ 48k MIT Go Nov 2026
3 Forgejo – – – –
4 GitLab – – – –
5 OneDev – – – –
6 RhodeCode – – – –
7 Sourcehut – – – –

All 7 alternatives to GitHub

Related guides

Alternatives to other services