branch property

String? branch
final

The name of the currently checked out branch, or null when the repository is in a detached HEAD state.

Implementation

final String? branch;