git prune local branches

Shell
npx git-removed-branches --prune

Source

Also in Shell: