how to remove origion in git code example Example 1: remove git remote git remote remove origin Example 2: remove origin git git remote rm origin