@matteodem if I understand correctly Github company had no choice. They could not figure out how to make profits and Microsoft has funds to keep it going. (Similar story when Google acquired Youtube.)
So Github-under-Microsoft is better than no Github at all or better than Github-like-SourceForge injecting malware into hosted tarballs to make portal profitable.
The acquisition is better for Github company, but we could argue that Github bankruptcy would be better for the software ecosystem. 🤷