git fetch prune not removing branches code example Example: git prune while fetch globally git config --global fetch.prune true