I almost feel like a buyout would not be possible without alienating companies from using it. If Microsoft bought Github, Google might be hesitant to use it, and vice versa. I think they will likely stay private and take capital injections from institutions like Google/Microsoft which will own a small bit of equity in exchange for funding.