What it is
A macOS desktop app built for reading Git history, not writing it. Add a few repositories and every project, worktree, and branch lives in one window: projects and changes on the left, the commit graph at top right, and below it the commit you clicked, with its full commit message, a PR link pointing to GitHub, and a side-by-side diff.
It doesn't commit, stage, merge, or rebase. The only two write operations are git fetch and, after you confirm, deleting worktrees that have already been merged.

The question it wants to answer
Once agents started writing the code, my job shifted from writing to reviewing. Several agents work at the same time, each in its own worktree, and I need to know what changed in each tree, what has already been merged into main, what is still hanging, and which files a given commit actually touched. Existing Git clients are designed for writing: one window handles one repository, the trunk gets shoved around the commit graph by branches, and every button might change the repository.
Retrace asks: if a Git tool existed only for review, what would it look like?
A few design trade-offs
- The trunk always sits in the leftmost column. The integration branch owns column 0 of the commit graph and runs as a straight line; agent branches split off to the right and merge back in. Other branches aren't drawn by default; add them when you need them.
- Worktrees are grouped by state. Besides the main tree, they fall into three dropdowns: "In progress", "Merged", and "Branches". Merged ones can be deleted safely: no
--force, every tree is rechecked one by one before deletion, and branches are only deleted withgit branch -d. - Read-only means all the way. Agents are working in those trees right now, so every git call runs with
GIT_OPTIONAL_LOCKS=0and never grabs the index lock. Listing changes only uses low-level commands that don't touch the index, and the temporary objects created when detecting squash merges are written outside the repository. - Click a commit, see the diff. Click a row to open its message and diff below; click again to collapse. The message body is shown in full by default, and squash or merge commits link straight to their PR. You can also switch to "Files" to browse the whole tree as of any commit, with Markdown rendered the way GitHub renders it.
- One window that doesn't break when crowded. The four panes can be dragged, docked, and swapped, and each has a minimum size. Settings and view toggles live in the macOS menu bar, so the window itself only holds what you need for reading code.

Status
It's released: Apple silicon and Intel builds, Chinese and English interfaces, open source under MIT. The website, retrace.linjiejim.com, has a live scrolling commit graph that shows how the trunk holds column 0. There's no Windows version yet.
