The checkout at cwd, read out of the files git itself would read.
The other half of the pair is gitx/gitcli, which asks a git executable;this one opens HEAD, refs, packed-refs, the commit object and the index.moon.mod is not involved: this is a directory in.
commit_date / author / email need the commit object, dirty needs theindex and a stat per file, and ahead / behind need the commit graph.All four are left empty rather than guessed: gitinfo does not invent adate to fill a hole.