logo
Fold
Install
Docs
Releases
Install
Docs
Releases
logo
Fold
What Fold is
Getting started
Sessions
Files and editor
Git panel
Search
Workspaces
Settings
Keyboard shortcuts
Terminal setup

Updated:

PreviousFiles and editor
NextSearch

#Git panel

The git panel is the half of Fold that makes agent output reviewable. ⇧⌘G opens it.

It shells out to your system git — the same binary, the same config, the same credentials, the same hooks. Fold links no git library, so anything that works in your terminal works here, and anything that doesn't, doesn't.

#Changes

The default section. It lists working-tree and staged files, parsed from git status --porcelain=v2.

ActionHow
Open a diffClick the file — it opens as a tab beside the editor
Stage+ on the row
Unstage− on a staged row
DiscardThe revert icon (confirms first)
Stage everything+ in the section header

Write a message in the commit box and commit. Push and pull are in the section header, with ahead/behind counts mirrored in the status bar.

#Diff tabs

Diffs open as tabs, so you can keep several open while you work through an agent's changes.

Each diff tab has a sticky file header with an "open file" action, and the new-side line numbers are clickable — clicking one opens the file in the editor at that line. That's the fast path from "this hunk looks wrong" to fixing it.

#Branches

Lists local and remote branches. Click to check out; the header offers create and delete.

#Worktrees

The WORKTREES section lists the repository's worktrees, and can add, open and remove them. New worktrees follow the convention:

../<repo>-worktrees/<branch>

Opening a worktree opens it as its own workspace tab, so an agent can work in an isolated checkout while your main tree stays clean. Worktree rows carry the workspace glyph to mark them as such.

#History

A paginated commit list. Click a commit for its file list; click a file for that commit's diff.

#Explorer decorations

The file tree carries VS Code-style git status marks:

MarkMeaningColour
MModifiedAmber
AAddedGreen
UUntrackedGreen
!ConflictedRed

Folders show a dot that rolls up the worst state of their children, so a dirty file three levels down is visible without expanding anything.

#Not a git repository

If the folder isn't a repo, the panel says so in one line and offers nothing else. There is no init button — git init is a terminal away, and you have a terminal right there.

#Authentication

Fold does not manage credentials. Push and pull use whatever your git configuration already uses — SSH keys, a credential helper, or gh. If a push would prompt interactively, run it in a terminal pane instead.