Dry-run: The command git remote prune origin --dry-run lists branches that can be deleted/pruned on your local.
git remote prune origin --dry-run
To remove the local remove '--dry-run'.
References: