Still a work in progress, but I've published the first draft of a new chapter on "Using Git with coding agents" https://simonwillison.net/guides/agentic-engineering-patterns/using-git-with-coding-agents/
@simon I much prefer #Jujutsu #jjvcs to Git. I feel the flow is nicer: the working copy is always « on » a commit so running jj edit / jj new snapshots (commits) then moves.
I’ve had relative success with agents with light instructions. YMMV, N=1, yada.