Fix: added gitBranchName function