LoL, who decides what is "breaking the law" ? You don't understand this? Furthermore, you don't understand :
the lawmaker!
whether the law is correct or has flaws in it is an entirely different discussion. even bitcoin is criminalized in a handful of countries and if someone owns any amounts of it they could be imprisoned. it is obviously a bullshit law but that doesn't change the fact that doing otherwise is "breaking the law" and is a criminal act.
back to topic
and if you don't see it, nor can understand it, it means that you aren't forthcoming... may I ask you why?
i get what you are trying to say, but the issue is not as big as you think.
bitcoin, the development, source code, all the commits (git), etc are already decentralized. the hosting alone is centralized and there is no
better solution to that. whether we replace GitHub with another site (even if it is a bitcoin specific hosting like what Linux does) it is still replacing the centralized problem with another one instead of solving it.
decentralized hosting solutions will also add a lot more issues that are more serious than what you are pointing out here.