Check branch name.