I'm pretty happy using Shelley, which stores agent conversations in a Sqlite database. I can refer to a previous conversation and the agent can easily do a Sqlite query to see what happened.
Although this isn't stored in git, I don't see any particularly need to since it's too detailed. Instead I have the agent write design docs (as an alternative to plan mode) and check those in. That seems like enough.