updated branch.sh for git