Update git branch handling
Improve logging initial messages