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