detect branch name also