localGit:revParse(repoPath, ref) -> string. Defaults ref=HEAD so the caller can pass two args or three. Output is trimmed - git rev-parse ships a trailing newline that breaks string equality on the JS side.
localGit:revParse(repoPath, ref) -> string
ref=HEAD
git rev-parse