how to delete an origin git code example Example 1: how to remove a git remote origin git remote remove origin Example 2: remove origin git git remote rm origin