Branches That Were Deleted Remotely
Merged branches were deleted on GitHub, but git branch -r still lists them as origin/…. What removes these stale remote-tracking branches?
git branch -r
origin/…
Choose one answer
git branch -D origin/<name> for each, then push
git branch -D origin/<name>
git remote rename origin upstream
git pull --rebase
git fetch --prune