Mentat includes a complete Git client in the same window your coding agents run in. Review what they changed, stage by line, rebase interactively, resolve conflicts and undo, across every branch and worktree.

01
The whole graph
Every branch, remote, tag and worktree in one commit graph, with each checkout's uncommitted work on top. A graph of 46,000 commits is walked in about 750 ms and laid out in about 16 ms.
02
Stage, rewrite, undo
Stage and unstage by file, hunk or line, and discard by file or hunk. Rebase interactively with pick, reword, squash, fixup and drop. Resolve conflicts with ours, theirs or both. Undo and redo Git actions.
03
Built for work agents do
Create worktrees for agents to work in, see which checkout each chat changed, then push and start a pull request.


