Branchlight
A quieter Git desktop client
A quieter Git desktop client for macOS, built around a clear commit graph, useful diffs and careful three-way conflict resolution.
- In daily use · v0.8.7 released
- 2026
- Rust · SwiftUI · AppKit · Git
Why
Most of my Git time is not typing commands. It is understanding how branches relate, reviewing what changed, and resolving conflicts without losing either side's work.
Branchlight is a client for exactly those three jobs, with one priority order: Git correctness and a useful GUI first, lightness second.
Problem
Conflict markers in a text editor make it easy to keep one side by accident and lose the other.
Discarding changes, hard resets and force pushes are one click away from losing work, with no way back.
Comparing a task branch against its target mixes in local edits and changes that only exist on the target.
A GUI that reimplements Git can quietly disagree with Git about what the repository looks like.
System
Branchlight keeps Git operations in one Rust engine and lets each platform own its own interface.
Native macOS client
SwiftUI and AppKit for Changes, History and the merge editor. Editor selection, layout and undo belong to macOS; no embedded web editor stands in for it.
C ABI bridge
branchlight-nativeowns repository sessions, validates each request once and returns the same JSON models as the original Tauri host. Reads share access; mutations are exclusive.Git engine
branchlight-coreruns official Git with explicit argument arrays and no shell interpolation, and holds the review rules shared by every client.
Implementation
Three-way merge beside the code
Index stages 1/2/3 are read with
git ls-files --unmergedandgit cat-file. The result starts from Base only inside unresolved ranges; arrows accept a side, × dismisses it, and undo restores text and decisions together.Save is not resolve
Saving checks a fingerprint of the file and its unmerged index entries, and rejects stale writes. "Mark resolved" (
git add) is a separate, explicit step.Hunk and line staging
Stage, unstage or discard per hunk or per line, built on Git's own diff and
git apply. Discards are backed up in the Git directory first and can be restored.A history you can read
A compact commit table with a lane graph, virtual scrolling and automatic paging. Filters run in
git logover the whole repository, and interactive rebase works by drag or keyboard.Distribution
A version tag builds, signs, notarizes and publishes the DMG in GitHub Actions; installs update in place through Sparkle.
Decisions
- D1
Official Git as the backend
Branchlight drives the real
gitbinary instead of a reimplementation, so it never disagrees with the command line about the repository. - D2
Destructive actions need explicit consent
Force push only goes out as
--force-with-leasepinned to the last fetched value, hard reset refuses to overwrite untracked files, and worktree removal never forces. - D3
No credentials of its own
Remote operations use the existing Git credential helpers and SSH agents. Branchlight has no sign-in flow and stores no passwords.
- D4
Native on the Mac
From 0.8.0 the macOS app moved from the Tauri/React client to SwiftUI and AppKit on the same engine. Windows keeps the Tauri client and is paused for now.
Result
- v0.8.7
- macOS · Apple silicon
- Rust + official Git
It is in a daily-use phase: I do all my own Git work in it — rebase, cherry-pick, large diffs, conflicts, worktrees — and fix the friction I hit in small batches.
Windows support is paused; the Tauri client remains on the same engine.