List only git branches for scripting

As part of building a bunch of automation tasks, one of the key things I needed was a list of git branches in an easy to parse manner.

git branch -v | tr -s ' ' | cut -d ' ' -f 2