Accept head and target branch in glorm
gt function for finding a branch by ticket