use a different method to extract the current branch