During an online discussion about the possible steps MS might take after acquiring GitHub, the other user suggested that MS could change the ToS so that they become the owners of the code.
So imagine I have a project. I create it on my PC, attach a GPL license to it and publish it on GitHub. MS using the hypothetical ToS takes over my repository and changes the license to some other one. Is that possible? (Would it be the same if instead of GPL, I reserved all rights to the code and my repository would be private)?
I am interested in this from the perspective of the EU citizen.