fixing git commands for branches