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