apt-get install gitolite3
something ...
https://www.micha.name/blog/2017/11/30/gitolite-and-gitweb/
https://wiki.debian.org/UsingGit
https://www.dynamsoft.com/codepool/git-server-ssh-http-ubuntu.html