This is Microsoft we’re talking about here. They provide OSes and PowerPoint for the CIA laptops that plan extrajudicial assassinations and torture sites, and groupware for the concentration camps for children down in Texas; their blatant commercialism is perhaps the least gross thing about them.
Imagine the most terrible dark patterns from LinkedIn (which they also own), and go self-host Gitea and move your repos.
If the FSF becomes a CIA vendor, I'm definitely out. Your analogy doesn't quite make sense, though. Neither Linux nor GNU are vendors to anyone. If they were, it would throw enough of their mission into question that most people would stop supporting them and fork everything.