git prune-branches
The prune-branches command deletes all local branches whose tracking branch no longer exists. This usually means the branch was shipped or deleted on another machine.
The prune-branches command deletes all local branches whose tracking branch no longer exists. This usually means the branch was shipped or deleted on another machine.