how to remove previously added remote of repo code example Example: how to remove a git remote origin git remote remove origin