As for why MS bought GitHub. See why they invested $1billion in OpenAI, then soon another $10 billion.
CoPilot - was trainined on all the open source and personal free repos of code on GitHub.
So MS basically purchased a huge amount of training data for AI. And they then put VS Code into package repos for raspberry pi OS, and other SBCs OS's, so the code written gets monitored, analysed and copied up to them. If MS own the IDE, the repo and the infrastructure, then they own the future of coding and software. Better idea than their strategy of robbing Javas syntax and brining out c# to try to take the programming market.
The quicker Linux provides seemless gaming the better. A tipping point will soon be possible once most gamers move from Windows to Linux. As then all windows will have going for it, is office - which is all cloud based now anyway.