Git

Review the Agent's work as commits and diffs, switch branches, and roll back safely — a visual audit trail of every code change.

When an Agent writes code, you want a clear record of what changed and the ability to roll it back. The Git tab gives you a visual view of the version history in the Agent's Drive — a complete audit trail of every file the Agent has touched.

Reviewing Git changes in the workbench

What the Git tab shows

  • Commit history — a chronological list of commits in the repository
  • Changed files — the files modified in each commit, with +/- counts
  • Diff view — inline before/after for any file
  • Branch selector — switch branches when the Agent works across several

How the Agent uses Git

As it completes coding work, the Agent can commit automatically. Each commit carries a descriptive message, the exact files changed, and a timestamp — so you can review the Agent's work before merging it anywhere.

Reviewing a commit

Click any commit to expand it, then click a changed file to open the diff:

- const timeout = 5000;
+ const timeout = 10000; // increased for slow networks

Red lines were removed, green added, grey is unchanged context.

Rolling back

Click Revert next to a commit to undo its changes. Revert creates a new commit — it never rewrites history.

Revert is non-destructive. Your full history is always preserved.

Advanced operations

The Git tab is a visual, read-focused interface. For merges, rebases, remotes, and the like, switch to the Terminal and use the git CLI — changes there reflect in the Git tab automatically:

git log --oneline -20
git checkout -b feature/new-experiment
git remote add origin https://github.com/your-org/your-repo.git
git push -u origin main

For passwordless pushes, store credentials or an SSH key via environment variables.

On this page