GitButler
GitButler is a modern Git client that revolutionizes branch management by introducing virtual branches, allowing developers to work on multiple features simultaneously without traditional branch switching. The tool enables users to create, manage, and apply changes across different workstreams in real-time, with the ability to selectively commit hunks to different virtual branches from a single working directory. Key features include intelligent conflict resolution, seamless integration with existing Git workflows, and an intuitive interface that simplifies complex Git operations. GitButler excels in scenarios requiring parallel development, feature experimentation, and collaborative workflows where developers need to context-switch between multiple tasks efficiently. The tool maintains full Git compatibility while providing enhanced productivity through its innovative virtual branch system, making it ideal for teams managing complex codebases and multiple concurrent features.
Latest Releases
All releases- Linux: GitButler is now on [Flathub](https://flathub.org/apps/com.gitbutler.gitbutler) as an official, verified package, with the native app included
- Windows: A second amend, reword or move into the same commit no longer fails with "Failed to find commit … in rebase editor" (a regression from 0.23.3)
- Windows: Committed symlinks now work on Linux and macOS
- GitHub: Pushing the rest of a stack after several of its branches merge together no longer fails with "There are no new commits between base branch …"
- Deleting your last applied branch no longer detaches
HEADwhenmainhas moved on, which blocked Update andbut pull - Loading a large project far behind its upstream no longer takes gigabytes of memory
- Adds
but worktree recycle, which reuses a clean archived worktree for a new branch and keeps its build output and dependencies
- You can now pick separate themes for light and dark mode
- The app reopens where you left off after an update, quit or crash
- "Open on GitHub" (or GitLab, Bitbucket, Azure) opens the repository in your browser
- Dragging a branch between two stacks makes it a stack of its own
- The navigator now shows each branch's commits by default
- Branches with an open pull request no longer offer a local "Merge into …"
- Common errors now explain the fix instead of showing raw Git output
- Light mode is brighter, and controls match the rest of GitButler's design
- Windows: Chinese, Japanese and Korean text no longer shows as boxes
- Repositories with thousands of open pull requests no longer keep the CPU busy
- Repositories using Git LFS or git-crypt no longer get a warning to avoid GitButler; it now only covers editing and resolving commits
- Linux:
.deband.rpminstalls now send you to the downloads page to update instead of failing - GitHub: Auto-merge now works in repositories that only allow squash or rebase merges
- Fixes AI requests failing with
401 Unauthorizedwhen using Anthropic with GitButler's key
but apply,but squash,but showandbut prnow suggest a next step when they refuse
- The Graph tab now shows a commit's diff, with keyboard navigation and right-click actions
- "New terminal with…" (
⌘I) opens a terminal running a command you pick, e.g.claudeorcodex - Appearance settings now let you pick a preset, accent color, corner style and density
- Files and hunks in a branch's diff now support the same actions as in a commit's diff
- Adds "Recycle worktree" to reuse a clean archived worktree instead of creating a new one
- Stacks now sit under a caption that folds them and can push, merge or unapply the whole stack
⇧⌘Pnow opens the command palette instead of the Create pull request form- A plain
git commitongitbutler/workspaceno longer breaks the project; the app now offers to uncommit it and keep the changes - Projects whose folder was deleted or moved now say so and can be removed from Settings
- Updating the workspace now updates linked worktrees too
- Operations that update linked worktrees now preserve conflicting uncommitted changes with conflict markers
- Repositories owned by another user now explain how to allow access with
safe.directory - Fixes branch apply, unapply and update operations writing encrypted files or Git LFS pointers instead of usable file contents in git-crypt and Git LFS repositories
- Fixes unnecessary conflicts and incorrect file contents when combining branches based on different target commits
- Fixes updating the workspace leaving local branches behind after they were merged
- Fixes failed checkouts leaving files partly written or losing uncommitted edits
- Fixes project loading failing when another process deletes an untracked file while changes are being read
but commit,but amend,but discardandbut diffnow accept Git-style paths, including relative and absolute paths, directories and.but undonow refuses operations it cannot safely reverse on branches checked out in linked worktreesbutnow gives clearer errors and recovery steps for repository, branch, worktree, push, merge, undo and forge authentication problems, and suggests alternatives to unsupported commandsbut push --dry-runnow reports branches that cannot be pushed, including branches containing conflicted commits, and exits non-zero if any are refusedbut rewordnow reads commit messages or branch names from a file or stdin with-Fbut amendnow defaults to the latest commit when the target branch is unambiguousbut amendnow refuses when there are no changes to amendbut diffnow accepts several file targetsbut diffandbut shownow support--statfor changed-file and line countsbut pr newnow accepts messages with blank lines before the titlebut amend -tandbut squash -tnow accept branches checked out in linked worktreesbut worktree new,but worktree removeandbut branch deletenow handle worktree directories deleted outside GitButlerbut commitruns Git commit hooks again in the main checkout;-n/--no-hooksor--no-verifyskips them (linked-worktree commits still skip hooks)but pullnow removes stale remote-tracking branches after updatingbutnow reports linked worktrees whose uncommitted changes gained conflict markers- Fixes
but uncommitbeing blocked by unrelated conflicted commits - Fixes
but resolve conflicts <commit>suggesting a resolution command for the wrong commit - Fixes
but diffreporting clean files as missing - Fixes amending an empty branch rewriting the commit below it
- Fixes
but resolveoverlooking conflicted commits in linked worktrees - Fixes
butfailing to open repositories beneath a previously registered project whose.gitdirectory was removed - Fixes
but pullleaving local branches behind after they were merged
- Adds split panes for pages and terminals, with drag-and-drop arrangement, keyboard navigation and saved page positions
- The navigator can now appear as tabs across the top of the window, with drag-and-drop ordering for projects and worktrees
- Adds a command editor for customizing keyboard shortcuts and finding commands by pressing their keys
- Adds
but://openlinks to projects, branches, commits, uncommitted changes, files and lines, tabs and settings - Files in the working tree can now be edited directly in the diff, including tracked files with no changes
- Committing changes with dependencies now offers to stack the required branches instead of creating a partial commit
- Adds an option to archive or delete clean worktrees after an update finds their branches merged
- @bjoaquinc made their first contribution in https://github.com/gitbutlerapp/gitbutler/pull/17018
- Fixes commits and amendments disturbing staged files or hiding later file edits
- Fixes problems caused by missing target-branch tracking: older projects failing to open, missing pull request details and skipped remote updates
- Fixes the app not refreshing after external worktree changes and showing errors for worktrees removed outside the app
- Fixes merged pull requests disappearing from worktree branches after updating the workspace
- Fixes undo leaving newly created branches behind or failing to restore deleted branches after Git garbage collection
- GitLab: Fixes merge request listing on older instances and authentication with server URLs ending in
/api/v4/ - Bitbucket: Fixes pull request creation and browser links for remotes using
ssh.bitbucket.org - Creating an independent branch from the target now checks it out without unnecessarily switching to the workspace
- Fixes unstacking failures with linked worktrees and branches disappearing from the native app when unstacked
but agent setupnow supports Amp;but agent uninstallremoves GitButler skills and instructions from coding agents- Claude desktop agents can now enable Auto-fix for pull requests created with
but pr newin workspace mode but worktree new --abovenow accepts branch names, IDs and Git revisions; worktree removal and archive commands also accept checkout pathsbut commit -bcan now create a branch and commit from a detached linked worktree- Running
butinside an archived linked worktree now unarchives it automatically but branch deletenow handles branches outside the workspace and protects branches checked out in linked worktreesbut resolvegains clearer recovery hints, stdin input withapply -F -and checks for leftover conflict markers; resolved branches now return successbut diffnow accepts committed hunk IDs and reports file statuses correctly in JSON outputbut branch show --ainow uses the configured AI modelbut pullavoids unnecessary worktree updates, and--update worktreesleaves the main checkout unchangedbut config target origin/mainnow creates the local tracking branch when neededbut openis removed; usebut guiorbut .. Retiredbut branch new --anchornow points to--abovein its error hint
- Adds integrated terminals for each checkout, with agent status indicators and drag-and-drop support
- Adds a commit graph showing the workspace, linked worktrees and target history
- Adds a TUI-style keyboard layout and modes for moving, committing and squashing changes; custom bindings are no longer available in the native app
- Adds worktree creation, reordering and updates, plus configurable inactivity grouping (two days by default)
- Adds in-app pull request editing, auto-merge on creation and clearer CI checks
- Improved commit and diff editing, with inline rewording, single-file diffs and copying files or hunks as Git patches
- @kunalgoesbyken made their first contribution in https://github.com/gitbutlerapp/gitbutler/pull/16485
- @RoooyHe made their first contribution in https://github.com/gitbutlerapp/gitbutler/pull/16705
- @definitelynotguru made their first contribution in https://github.com/gitbutlerapp/gitbutler/pull/16745
- Fixes projects failing to load after choosing
gitbutler/workspaceas the target branch (a regression from 0.23.0) - Fixes pushes failing when the target branch has no upstream and the pushed branches have no open pull requests (a regression from 0.23.0)
- Fixes phantom uncommitted changes after staging, renaming or deleting files outside GitButler
- Discarding a file deletion now restores its committed content, even if a different version was staged
- Fixes upstream merge commits showing the wrong pull request title and link
- Fixes worktree removal incorrectly showing a "Worktree … does not exist" error
- Fixes the target branch picker failing with "Expected object of kind commit but got tree" when a remote ref points to a tree
but pr newnow lets Claude desktop enable Auto-fix for pull requests opened from their checked-out branchbut apply --jsonno longer includes theworkspaceRefCreatedfieldbut push <branch> --dry-runnow lists every branch that will be pushed, including branches beneath it in the stackbut branchno longer lists the checked-out branch twice after unapplying down to one branchbut applyno longer reports an already-applied branch as newly appliedbut commit -berrors in linked worktrees now suggest omitting-bto commit on the worktree's own branch
- A new native version of the app is now available under “experimental” in settings.
Installation
curl -fsSL https://gitbutler.com/install.sh | sh