Guide
Branchlane guide
Set up Branchlane, do everyday Git, and fix the few things the App Sandbox gets in the way of.
Updated November 23, 2026 for Branchlane 2.3
Get started
Branchlane uses the git that is already on your Mac. If macOS asks to install the command line developer tools the first time, accept it. Branchlane has no account to create.
- Open a repository. Choose Add Repository (⌘O) and pick a folder, or Clone Repository (⇧⌘O) and paste a URL.
- Allow your Git identity. The App Sandbox keeps Branchlane out of your home folder until you say so. In Settings > Git & SSH, choose your
.gitconfigonce so commits use your name and email. - Allow SSH keys if you use key files. Keys loaded in
ssh-agentalready work. To use key files and~/.ssh/config, choose your.sshfolder in the same place. - Sign in to HTTPS remotes when asked. Branchlane asks for a username and token the first time a remote needs one, and keeps it in your Keychain only if you choose to remember it.
Everyday Git
Stage and commit
The right panel lists unstaged and staged files. Stage a whole file, or open it and stage single hunks or lines. Lines are written to the index byte for byte, so files with CRLF line endings or other encodings stay as they were. Write a summary and press Commit, or Commit and Push.
Branches
New Branch is ⌘B and Switch Branch is ⇧⌘B. In the graph, drag one branch onto another to merge or rebase it, or right-click a branch for every action. Fetch is ⇧⌘F, Pull ⇧⌘L and Push ⇧⌘K.
Merge commit messages
A merge commit is named after the branch, as in Merge branch 'develop' into feature. Settings > Git & SSH > Merge can show the full ref (refs/heads/develop) or the commit hash instead.
Undo
⌘Z takes back checkout, commit, reset, discard, branch delete, stash drop and rebase, and ⇧⌘Z redoes. Undo is kept in Git itself, so it still works after you quit.
Stashes, tags and history
Stash Changes is ⌥⌘S and Pop Latest Stash ⇧⌥⌘S. Select a file and press ⇧⌘H for its history, or open blame from a diff.
Pro tools
These need Branchlane Pro. Every new eligible subscriber can try them free for 14 days.
- Interactive rebase: right-click a commit and choose Interactive Rebase. Reorder, reword, squash and drop, then start. Undo takes the whole rebase back.
- Conflict editor: when a merge, rebase or cherry-pick stops, open a conflicted file and choose ours, theirs or both, change by change. Conflict warnings show collisions before you merge.
- Worktrees, compare, Git Flow and patches are in the left panel and the right-click menus.
- Pull requests and issues: add a GitHub or GitLab token in Settings > Integrations. It stays in your Keychain and talks to the host directly.
- AI and the assistant: choose a provider in Settings > Assistant: a local model, your own API key, or Apple's on-device model. Nothing is sent until you ask. Ask the assistant with ⇧⌘I. Changes it suggests wait on a card until you run them.
Agent lanes
Agent lanes give Claude Code, Codex or another coding agent a branch and folder of their own, then let you review and integrate the work in one place.
- Open Settings > Agents and connect your agent. Branchlane shows the exact setting for each agent and only listens on this Mac.
- Start a lane from the Lanes section of the left panel, or let the agent start one with its own tools.
- When the agent asks for review, open the lane. Test evidence counts only for the code it ran on, and risky files come first.
- Take the whole lane, leave out files or single hunks, or send it back with your reasons. Integrated lanes come back out with one commit.
To connect your own tool, see the developer docs.
Keyboard shortcuts
| Action | Keys |
|---|---|
| Command palette | ⇧⌘P |
| Quick open: repositories, branches, commits, files | ⌘P |
| Add repository / Clone | ⌘O / ⇧⌘O |
| Fetch / Pull / Push | ⇧⌘F / ⇧⌘L / ⇧⌘K |
| New branch / Switch branch | ⌘B / ⇧⌘B |
| Undo / Redo | ⌘Z / ⇧⌘Z |
| Stash / Pop latest stash | ⌥⌘S / ⇧⌥⌘S |
| Left panel / Right panel | ⌘J / ⌘K |
| Ask the assistant | ⇧⌘I |
| Git console | ⇧⌘C |
| Refresh | ⌘R |
| All shortcuts | ⌘/ |
Troubleshooting
A hook or script says "operation not permitted"
macOS quarantines files written by App Store apps, and quarantined programs cannot run. Hooks and scripts that arrive through a clone, pull or checkout in Branchlane need this once in Terminal, and again after Branchlane writes them later:
xattr -dr com.apple.quarantine /path/to/repo
Branchlane shows the command with your path when this blocks a Git operation. Hooks that were already on disk run normally.
Commits have no author
Choose your .gitconfig in Settings > Git & SSH, or set a name and email for the repository.
SSH asks about a host key
The first connection to a host shows its fingerprint. Check it against your host's published fingerprint and trust it. Trusted hosts are listed in Settings > Git & SSH.
A worktree outside the repository shows no changes
The sandbox needs access to that folder. Choose Allow Access on the worktree row once, and Branchlane remembers it.
There is no terminal inside the app
The Git console (⇧⌘C) runs Git commands. For anything else, Open in Terminal hands the repository to Terminal.
Get help
Ask a question or report a problem on the support page. Include your macOS version, your Branchlane version from the Branchlane menu, and what you expected to happen. Leave out repository contents and tokens.