Git is already a distributed system. That’s its main advantage over older systems like SVN which used a client-server model. The thing is that a lot of people don’t understand distributed systems and kinda pushed it back into a client-server model with services like Github.
Discovery is the main issue that I think federation would solve. It’s the missing piece of a lot of distributed systems.