This tool is designed to delete all local branches with tracking where the tracked branch has been deleted from the remote server.
it is recommended to install using: npm install -g git-clean
Usage for git-clean
-h help
-dr invokes a dry run
-path= overrides folder for the git directory to be cleaned
-v executes verbose mode
-D force branch deletion