What's if you could ~$ git clone SWHID?

"You’d end up with git clone as a content-addressed fetch primitive rather than just a URL fetch, which is an interesting building block for reproducible builds and supply chain verification."

A nice write-up by @andrewnez on git remote helpers 👉 https://nesbitt.io/2026/03/18/git-remote-helpers.html

#Git #SWHID #ReproducibleBuilds

Git Remote Helpers

Git can talk to anything if you write the right helper.

Andrew Nesbitt
@bzg @andrewnez Thank you for the analysis. If there was a form of SWHID that used a CID instead of SHA1 it would also help for load balancing, caching and retrieval without access to a SWH mirror, censorship etc. Here also the concept of a shallow SWH mirror might be an attempt to solve the problem with poor connections to git remotes.
@bzg SWHID built-in in Git when