pub fn head(root: &Path) -> Option<(String, String)>
The current commit sha and branch name, if root is a repo.
root