pub fn git_head_commit(worktree_path: &Path) -> Result<String, GitError>
Resolves the abbreviated HEAD commit hash for a worktree.