User:Ng0/drafts/guide/selfhosted git onion

git was designed to be used in a decentralized context, that is why it suited to be used through tor. This guide does not replace or provide guidelines on the safe usage of tor and only focuses on the work with git.

Notes:
 * 1st: git-daemon+tor general usecase scenario.
 * 2nd: gentoo specific: overlay, teamwork+alone.
 * 3rd: server specific: adding webinterface, if needed

Emerge
Install and :

OpenRC
To start:

To start the services on system boot, add it to the default runlevel:

Systemd
To start:

To start the services on system boot:

Configuration
Configure your git-daemon to

Advice

 * For optimal usage, the machine with the git-daemon should have an uptime close to 24/7