Git Diff

After the agent has been coding for a while, the question is always the same: what did it actually change? The Git Diff view renders your workspace's diff GitHub-style, right inside the terminal session page — no need to interrupt the agent or type git diff into a phone terminal.

Where to Find It

  • On the terminal session page, open the top-right menu (⋯) and tap Git Diff.
  • Or pin it to the bottom toolbar: in Settings → Preferences → Terminal → Bottom Toolbar Tabs, pick which three of the four tabs — Files, Git Diff, Skills, MCP — appear in the session's bottom toolbar. Git Diff is not pinned by default.

What It Compares

By default the view shows Uncommitted changes — your working tree compared against HEAD. That is exactly the set of edits the agent has made since the last commit.

Tap the compare picker at the top right of the sheet to diff against something else:

  • Uncommitted changes — Working tree vs HEAD (default)
  • Compare with branch — Any local branch, with main/master surfaced first
  • Remote branches — Remote-tracking branches such as origin/feature

If the workspace has linked worktrees (including worktrees created automatically by Agent View), a branch picker at the top left lets you switch which worktree's diff you're viewing.

Reading the Diff

  • Sticky file headers — the current file name stays pinned to the top while its changes scroll underneath, so you always know which file you're in
  • Files changed count — a summary of how many files the comparison touches
  • Line numbers, added/removed coloring, and word wrap for long lines — all in a monospaced GitHub-style layout; binary files are labeled as such
  • Tap the refresh button to re-run the diff after the agent makes more changes
Note

The view is read-only and only available for Git repositories. Untracked (never-added) files don't appear in the diff — ask the agent to git add them first if you want them included.

See also: Worktrees for branch-isolated parallel work, and Terminal for the session page this view lives in.