pub fn head_commit_in(dir: &Path) -> Result<(String, String)>
The current HEAD commit as (full sha, committer date).
(full sha, committer date)
The committer date is strict ISO 8601 (git log --format=%cI, e.g. 2026-07-09T12:00:00+02:00).
git log --format=%cI
2026-07-09T12:00:00+02:00