pub fn current_branch(root: &Path) -> Option<String>
The checked-out branch, or None for a detached HEAD or no repository.
None