return nil if there is no current_branch