pub fn rev_parse_head(workspace_root: &Path) -> Result<String, GitError>
Run git rev-parse HEAD in workspace_root and return the resolved 40-char (or 64-char SHA-256) SHA.
git rev-parse HEAD
workspace_root