By Vero SecurityBuilt and funded by Vero Security, the AI Security Engineering platform.Read the charter

Using checkpoints and git to see what an agent changed

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

  1. OfficialCheckpointing (Claude Code docs)States what checkpoints track, what they miss and when snapshots are deleted.
  2. OfficialExplore the .claude directory (Claude Code docs)Shows where file-history snapshots live and how many are kept.

Save your progress

We email you a sign-in link. No password.

By signing in you agree to the terms. The privacy policy explains how we use your details.

Join the AI security engineering community

Free. Roadmap updates, chapters near you, and first word when credentials open.

We’ll email you community updates. Unsubscribe anytime. By sending this you agree to the terms. The privacy policy explains how we use your details.