detach remote origin git code example Example: how to remove remote origin git git remote set-url origin git://new.url.here