git-cleanup Super simple binary that adds git cleanup to delete local branches not on any remote. Build and install go get github.com/pelletier/git-cleanup go install github.com/pelletier/git-cleanup Prebuilt binary Put one of those anywhere in $PATH. macOS linux x64