saltstack/salt — pull request #10586 by mtorromeo (2014-02-19 15:03:15+00:00)
Title: git branch --list doesn't work on Git < v1.7.8

"git branch --list" was added in Git v1.7.8 and doesn't work in older versions that are still present on rhel<=6 and derivatives (such as centos) and possibly more distributions.

The simpler "git branch" is equivalent and works identically on older and newer versions of git.