pub fn resolve_head_sha(repo: &Path) -> Result<String>
Resolve the full commit SHA of HEAD in a cloned repository.