Or we can simply have a git hoster which is not in the US and as such is not impacted by DCMA
Broadly speaking, it's inevitable that some jurisdiction will decide to observe the unclothed emperor here and create a legal framework without the yoke of all of this "intellectual property". Obviously, it will thrive, and everyone will flock to use services there.
What then?