Microsoft is able to keep GitHub and npmjs.com online, despite all the DDoS attacks. It requires a huge amount of servers, bandwidth etc, to have all the repos, downloads, etc online. Having those online makes coding FOSS possible.
There are some FOSS alternatives to GitHub, but they have had more problems staying online.
FOSS existed and worked fine before Github and even before Git itself. It's certainly a convenient tool, but not irreplaceable. Git is also well suited to being used in a decentralized way (with no centrally hosted master) compared to older VCSs like SVN. Again, less convenient but not the end of the world.
I wouldn't count things they've acquired; those products/services were already running, and all they need to do it not add too much crap and/or keep the servers running.
> Microsoft is able to keep GitHub and npmjs.com online
Somehow they were also capable of killing Skype, Nokia, and Yammer, among some other things. They've also made LinkedIn less user-friendly and overwhelmed with ads.
GitHub (I feel) never had so much downtime before the acquisition. I'm dreading the day when they finally make something so stupid that would drive hundreds of thousands to move their repos someplace else.
There are some FOSS alternatives to GitHub, but they have had more problems staying online.