headBranch abstract method

String? headBranch()

The branch HEAD names: the default branch of a bare repository, the one checked out in a working one; null when detached.

Implementation

String? headBranch();