But why? If you have an SSH server running, you can immediately setup a git server. Just do git init —-bare, no gigantic web server overhead.
I also remember the there were tools that use Git as a backend for a change review system, and for an issue-tracking system (much like the stuff which Fossil has integrated).
With that, you theoretically don't need a central server at all, as long as you can send patches to each other. In practice, a central server is an important convenience that helps keep the history synchronized between several developers.
https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protoco...