People have been voluntarily letting Microsoft host their code for years now. And before that they posted their open source code to a centralized site that wasn't open source. This is one of those things where of course it was going to happen. GitHub was VC funded, they were going to either exit to a big company or try to become one. Eventually the bill was going to come due and everyone knew this. You can choose to…
It's like using Instagram or Facebook. It's not at all a matter of individual choice when all your friends are on one single platform.
Sure you can host your code anywhere, but by not using GitHub you are potentially missing out on a very vibrant community.
It's all Microsoft to blame. It bought the medium and took an entire community hostage in the process just for the sake of profit.