Git Troubleshooting Git evidence
Healthy evidence: failure is reproducible and localized, recoverability is preserved, the fix is minimal and original local/remote operation plus downstream checks pass. Suspicious evidence: random reset/clean/force operations, deleting .git metadata, retrying without evidence, stale remote assumptions or stopping at command exit zero.
Correlated Git evidence can establish this version-control path and its current proof boundary: symptom/command → repository/root/state → HEAD/refs/history → index/worktree → remote/refspec → network/TLS/auth → server policy → minimal repair → original-test/read-back
It does not independently prove downstream automation or target runtime state. A Git command succeeding after a change proves only that operation now passed. Root cause closes when the first failed boundary is explained and local/remote state plus downstream effects are verified.
Continue from the first unproven boundary: capture repository/HEAD/worktree/index state, resolve immutable commit and ref identities, refresh remote evidence where required, inspect the exact Git operation result, then read back remote/downstream state before retrying or declaring success.
Use this Evidence to decide the next boundary, not to skip the original test
Observation → proof/non-proof boundary → next discriminating check → minimum controlled change → repeat the original workload/test → adjacent/return-path regression check where relevant.
Capture / filter
repository/root + HEAD + worktree/index + commit/ref IDs + ancestry/merge-base + remotes/refspecs + remote-tracking freshness + transport/auth/server result + reflog/recovery context + downstream read-back