output the branch name for list