Microsoft is more and more cloud and services, but they still have a developer mentality and they have done some good stuff with open source lately.
If someone is going to buy Github, Microsoft is probably the most friendly to developers. Unless Google or Facebook wants to go full altruist and buy for the credibility.