http://uov5vlsywysdx44mykfwhezqazyubs7zyqdrsl7iaawwrtkkdaig5xqd.onion/articles/SetupGitServer
Just run the following: root:server# sudo adduser \
--system \
--shell /bin/bash \
--gecos 'git SCM user' \
--group \
--disabled-password \
--home /var/lib/git \
git This will create our git account, with the full name "git SCM user", no password and with the /var/lib/git home directory. It will be a system user. Gitolite Now, lets configure Gitolite. As the "git" user, create the "sshkeys" directory (in /var/lib/git) and copy the ssh public key we created earlier there.