git prune while fetch globally

Shell
git config --global fetch.prune true
Source

Also in Shell: