Review code changes
See git diffs, stage or revert individual hunks, and trace any line's history without leaving your session.
When your working directory is a git repository, you can review exactly what changed right beside your terminals—handy when an agent is editing files and you want to watch its work.

Inline diff viewer
The diff viewer is a tile, so it sits alongside your terminals. Open it by double-clicking a repository path printed in terminal output, or by choosing View diff from a path's right-click menu.
The viewer lists every changed file with its status—modified, added, deleted, or
renamed—and the count of added and removed lines. Click a file to expand its
syntax-highlighted diff. Use j and k to move between files quickly.
For each file you can:
- Copy the path or copy that file's diff to your clipboard.
- Open the file in the preview or editor panel.
- Discard the file's changes to revert it to the last commit.
Across the whole repository, the top bar lets you filter the file list, refresh to reload, copy the full diff as one unified patch, or discard all changes at once.
Discarding is permanent—it throws away uncommitted work for that file or the whole repository. Use it deliberately.
Stage or revert a hunk
You do not have to accept or reject a whole file. Inside a diff, hover over any line to reveal a small menu. From it you can copy the line, copy the surrounding hunk as a unified diff, or revert just that hunk back to its committed state—so you can keep part of a change and drop the rest.

Per-line history
To understand why a line looks the way it does, open the diff or file and pull up its history. Each line shows who last changed it and in which commit, and you can step back through earlier versions to see how a block evolved over time.

Branch status and pull requests
The diff viewer's sidebar also shows where your branch stands:
- The current branch name and its upstream.
- How far the branch is ahead (↑) or behind (↓) the remote.
- A warning when the branch has no upstream yet, so nothing has been pushed.
If an open pull request exists for the branch, a #number chip appears. Click it to open the pull request in a browser tile inside your session. The chip shows up when your host is signed in to GitHub; otherwise it stays hidden.
Track what a command changed
You can record the diff that each command produces, which makes it easy to see exactly what a build script or an agent run touched.
In the Activity panel (the bell icon), turn on Track diffs. From then
on, every command that finishes shows a Δ N badge, where N is the number
of files that command changed. Click the badge to open that command's diff in
the viewer, so you review the result of one specific run instead of the whole
working tree.
This pairs naturally with agents: leave Track diffs on, let an agent work through a task, then step through each step's changes from the Activity panel.