This should work. https://help.ubuntu.com/lts/servergui...
However, the Gitolite might not be available on Fedora. The first half should work under basic logic. Just remember to use dnf instead of apt-get/apt