remove remote from code repo code example Example 1: remove a remote origin git git remote remove origin Example 2: how to deltyer remote origin git remote rm origin