Claude Code snapshots files its edit tools change, but not files changed only by Bash commands, and usually not subagent edits. Use the snapshots in file-history for edits, and git diff against a known good commit for the rest. Record which source you used for each file.
Read in this order
- OfficialCheckpointing (Claude Code docs)States what checkpoints track, what they miss and when snapshots are deleted.
- OfficialExplore the .claude directory (Claude Code docs)Shows where file-history snapshots live and how many are kept.