Is there anything like bittorrent for github repos?
That was always the appeal of people exploring shared compute and storage on crypto networks, it was overhyped and burdened by the financial speculation (though I imagine it also helped fund development), because the cool thing for me was people trying to build resilient distributed systems that protect from these kinds of issues
That would be... git. It's specifically designed to be used in the distributed manner that you describe.