Migration script

Description / Proposal

Migrating to Gitlab is pretty easy over the web interface. It would be even easier if you could provide a script, which switches the origin remote to the gitlab Repo. This should be done after testing that the Repo actually exists on Gitlab.

Not a big thing, but it would be pretty helpful if you could provide oneliner for both Windows and Unix based Systems (not too complicated under Linux, i.e: bash <(curl -Ss https://gitlab.com/easy-migrate.sh))

Links / references

https://twitter.com/LukvonStrom/status/1003034693653188608