delete remote in origin code example Example: how to remove remote origin from git repo git remote set-url origin git://new.url.here