You can delete all local branches except current using this simple command:

git branch | grep -v '*' | xargs git branch -D