Buda LogoBuda

Git Tab

View commit history, inspect diffs, and manage branches for your Agent's code directly from the workspace.

Git Tab

The Git tab gives you a visual interface to the version control history of your Agent's Drive. Every file change the Agent makes can be tracked, reviewed, and rolled back from this tab.

What the Git tab shows

When you open the Git tab, you see:

  • Commit history — a chronological list of all commits in the repository
  • Changed files — the files modified in each commit
  • Diff view — a side-by-side or inline diff of any file change
  • Branch selector — switch between branches if the Agent works across multiple branches

How the Agent uses Git

When the Agent edits code or creates files as part of a task, it can commit those changes automatically. Each commit includes:

  • A descriptive commit message generated by the Agent
  • The exact files changed
  • A timestamp and session reference

This gives you a complete audit trail of everything the Agent has done to the codebase.

Viewing a commit

Click any commit in the history list to expand it. You'll see:

  • The commit message
  • A list of changed files with + / - counts
  • Click any file to open the diff view

Diff view

The diff view shows the before and after state of a file:

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

Lines in red were removed. Lines in green were added. Unchanged lines are shown in grey for context.

Rolling back changes

To revert to a previous state, click the Revert button next to any commit. This creates a new commit that undoes the changes — it does not rewrite history.

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

Branches

If the Agent is configured to work on feature branches, the branch selector at the top of the Git tab lets you switch between them. The commit history updates to show only the commits on the selected branch.

Working with the terminal

The Git tab is a read-only visual interface. For advanced Git operations (merge, rebase, cherry-pick), switch to the Terminal tab and use the git CLI directly:

git log --oneline -20
git diff HEAD~1 HEAD
git checkout -b feature/new-experiment
git merge main

All changes made via the terminal are reflected in the Git tab automatically.

Connecting to a remote repository

To push the Agent's work to GitHub, GitLab, or another remote:

  1. Open the Terminal tab
  2. Add the remote: git remote add origin https://github.com/your-org/your-repo.git
  3. Push: git push -u origin main

You can also configure SSH keys in the Agent's environment variables for passwordless authentication.

Tips

  • The Agent commits automatically after completing a coding task — you don't need to commit manually
  • Use the Git tab to review the Agent's work before merging to your main branch
  • Combine the Git tab with the Drive tab for a complete view of the Agent's file system

On this page