pub fn get_head_commit_sha(repo_path: &Path) -> Result<String>
Get the HEAD commit SHA from a git repo.