Add a mechanism to override default URL of Cling's git repo

Also handle cases where existing origin is different to the supplied origin.