It comes down to the canonicity of the repository.

The canonical git repository is where all the action happens, regardless of how many mirrors you have. And this always ends up living on a single server.

I want to address the canonical repository with an event ID, and not need to care about who runs the server. I also don't want to use any credentials other than my keypair.

Reply to this note

Please Login to reply.

Discussion

There's no canonicity in nostr since there's no global consensus and no shared state.

Dfferent users with different relays might see different repository states the same way different git remote servers might have different states.

I agree, but I think it's a lot easier to deal with multiple relays than it is to reconcile multiple git mirrors. I think this will become more obvious if places where git repos congregate come under attack.