Capture the branch name.