What I don’t understand though is how switch platforms stops someone cloning the code from another platform and reposting it to their repository on GitHub.
Am I missing something, and if not, is there a solution to preventing this?
But if they clone repositories outside their services, they can't use its ToS to shield itself since the only thing applying here is the license.