This could work great for git server implementations designed to work with NIP-34 becausei repos could be addressable by, domain/pubkey/identifier a bit like how content is addressable in blossom. You could even have DVMs that could find git servers that serve the repo for you.
Beware that IPFS tried that ages ago and ... it doesn't scale well the same way nostr doesn't scale well. They call it IPNS, basically you ask the network to find data signed by a certain public key. There are many more levels there than nostr because basically one server (relay/node/peer) can delegate to another one which delegates again sort of like DNS. The more hops the higher the likelihood to find something, and something recent too, but the network bandwidth explodes.