The repository is initialized with the SHA-256 object format, but actions/checkout runs `git init` in the workspace before fetching. Without GIT_DEFAULT_HASH=sha256 that init defaults to SHA-1 and fetch fails with `mismatched algorithms: client sha1; server sha256`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>