If BRANCH_NAME is found, check out a specific branch.