git remove origins that don't exist on remote code example Example: git remove origins that don't exist on remote git remote prune origin