Delete local refs to the branches that don’t exist on the remote (doesn’t affect local branches):
git remote prune origin