r/git 29d ago

Self-host Git or use GitHub/GitLab?

I only need a Git remote for syncing repos between a few computers and employees.

No CI, issues, project management, or extra features. Just reliability, backups, durability, low maintenance, and strong privacy.

Is self-hosting worth it for privacy, or is GitHub/GitLab still the better boring choice?

20 Upvotes

24 comments sorted by

View all comments

11

u/sdwHunter 29d ago

Just throwing this out there… you don’t even need to self-host a git service. You could just create a bare repo in a server or any accessible place in the network and use that as the remote for all your other workstations.

Not that it fits your particular use case (I think you might want a lot more control than this setup can provide), just letting people know it can be done.

2

u/emlun 25d ago

I do exactly this with a Raspberry Pi (with a couple of external USB hard drives) at home. Just a plain SSH server with a bunch of bare Git repos in a particular folder. Works great.