pub fn resolve_reference(repo_url: &str, git_ref: &str) -> GitResult<String>
Resolve a git reference to a commit SHA without cloning.