pub fn get_head_state(repo_path: &Path) -> Result<HeadState>
Get the current HEAD state with full type safety