Get the branch right