set git branch name from environment if available

Signed-off-by: Joshua Rubin <jrubin@zvelo.com>
Merge remote-tracking branch 'mattn/master'
Merge pull request #30 from joshuarubin/master

Set git branch name from environment if available