@CherryKittens Git is federated already, server name is in the URL.
There's an interesting git-ssb project which hosts git repos over #SSB network