remove the previous remote version of git code example Example: how to remove remote origin from git repo git remote remove origin