I take care of that in two ways, 1) is via claude hooks, I make sure these are tagged as claude, 2) my sandboxed agents have git env vars set, with the same effect.
Does Claude run git commit on every change it makes? Doesn't that pollute your git history?
Does Claude run git commit on every change it makes? Doesn't that pollute your git history?