Klaus Zimmermann's Corner

Status on 2021/01/26, 12:59

Took one (relatively) small step towards asserting my independence from cloud platforms by self-hosting a git repository in my own house.

What originally sounded to me like a huge, complicated task, actually turned out to be quite simple - if only for a very simple implementation of the protocol. Thanks to this easy guide, I was able to get my Raspberry Pi hosting a few repositories in less than 30min (I spent more because I had to do some debugging to get it up and running).

The final solution is pretty clever, and uses SSH as the backbone for transport and authentication. So if you want to learn more about how the git protocol works and the "innards" of something like GitLab works, the above is definitely a good read.