set git branch name from environment if available

Signed-off-by: Joshua Rubin <jrubin@zvelo.com>