git how to remove all existing remotes code example Example 1: remove git remote git remote remove origin Example 2: how to deltyer remote origin git remote rm origin