how to delete branch from upstream repo code example Example: git remove upstream branch $ git branch --unset-upstream