If you use GitHub, the code belongs to microsoft
…the right to publish your code belongs to Microsoft
If your perfectly legal code angers one of the few companies keeping their gaming console alive, they'll remove your project and every project forked from it.
Quite incorrect.
> You own Your Content. If you post Content you did not create, you are responsible for ensuring you have the right to post it and for complying with any applicable licenses.
In addition to granting GitHub & co licenses to "... to store, host, archive, parse, display, and make copies..."
https://docs.github.com/en/site-policy/github-terms/github-t...