Adding branch info and fixing git commands output