pruning all the branches on local git code example Example: git prune local branches npx git-removed-branches --prune