pub fn get_git_head_commit(repo_root: &Path) -> Option<String>
Get the git HEAD commit hash for session tracking.