We are not entitled to change laws, but I think it's very important that an open source project like ours fights for these kind of things. For ex, refusing or even making it difficult for someone, say, from Iran, to collaborate or even get FreeCAD, just because some government of some country said so, would be totally, fully, absolutely wrong and completely against everything we're doing here (my opinion of course, but hopefully it is shared by the vast majority here).
I don't think anyone would bother to sue us if we self-hosted a FreeCAD Git server and didn't enforce US law... At least at the moment
But it would indeed be just pushing the issue forward, because sooner or later the hosting provider we use would decide to follow US law, then we're back at point zero. But using providers who fight for the same causes such as framagit is good i think.
However a solution now appears brightly to me: Let's spread! Let's not have a single FreeCAD Git address! Let's have FreeCAD mirrors everywhere! All it needs is dedicated people wishing to help maintain the mirror (It's not much work, just push the latest changes to it regularly, until we find a way to automate it). I'm maintaining the gitlab one now, I can do other too (I've configured git so when I push to github it pushes togitlab too), anyone volunteering to create and maintain a mirror on framagit?