added gitbranch function