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