Equally, on their $200M revenue (or whatever it was), they would struggle to get a multiple that would be interesting for their VC backers. Their market cap at IPO wouldn't have been much more than $1B (absent some growth story).
It's a great problem to have, to be sure, but the MS purchase is a great deal for Github investors.