that makes you immune to DMCA takedown orders
Is that really true? I mean, they probably can’t take down my server, but can they not at least still issue a DMCA takedown order, forcing me to remove the illegal content?
[DMCA] criminalizes production and dissemination of technology, devices, or services intended to circumvent measures that control access to copyrighted works (commonly known as digital rights management or DRM). It also criminalizes the act of circumventing an access control, whether or not there is actual infringement of copyright itself.
Wouldn’t you still be guilty of doing this even if you self-host your git repo with the illegal code being accessible by anyone on the internet?