Perhaps a better question ... how long is your situation going to last? Academia offers stability to an extent .. say post tenure. Industry does not imho.
The purchase of github doesn't make immediate financial sense to me. This article posted a reason - to stave off Windows decline. While it is plausible, I still don't see it.
Err ... not according to Econ 101. A rational producer in a perfectly competitive market supplies just enough to clear the market. When people distort markets with subsidies, etc. the amount produced is more. This can also be in industries with barriers to entry as a large producer might supply more on purpose to drive existing competitors out of business.