Lazygit is an open-source terminal Git client alternative to Sublime Merge with keyboard staging, interactive rebasing, and remote SSH workflows.
Sublime Merge runs as a standalone desktop application requiring dedicated window switching and mouse interactions. Lazygit brings visual staging, interactive commit history management, and branch navigation directly into the developer's active terminal session. For engineers working across remote SSH instances, tmux workspaces, and command-line toolchains, this eliminates the friction of juggling external windows during development.
Lazygit covers the core capabilities of Sublime Merge—hunk staging, line-level selection, and interactive rebasing—while running directly in shell pipelines. Where Sublime Merge requires a desktop display server and isolates Git into a separate GUI window, Lazygit operates inside tmux, editor terminals in Neovim or VS Code, and remote SSH sessions. Developers stage changes, review diffs, and inspect branches without breaking keyboard focus or forwarding display windows across network connections.
This integration extends across the terminal toolchain. Lazygit pairs with pagers like delta for diff highlighting, links with the GitHub CLI to display pull request states alongside branches, and accepts custom YAML keybindings to run repository scripts. Sublime Merge holds an edge in graphical three-way merge conflict resolution, but costs $99 or more per seat under a proprietary license. Lazygit delivers a keyboard-driven alternative that keeps version control alongside the rest of your terminal tools.
Is Lazygit free for commercial use? Yes. Lazygit is distributed under the MIT license with no seat fees, usage restrictions, or enterprise paywalls.
Lazygit vs Sublime Merge — which should I choose? Choose Sublime Merge if you need graphical three-way merge resolution and side-by-side diff windows; choose Lazygit if you prefer a keyboard-driven workflow that runs in your terminal, operates over SSH, and integrates with CLI utilities.
Can Lazygit run on remote servers over SSH? Yes. Lazygit is a single compiled binary across Linux, macOS, and Windows, enabling it to run directly in remote shell sessions without a display server.
Lazygit provides an efficient Git workflow for developers and DevOps engineers who want visual repository control without abandoning the terminal prompt. Its MIT license ensures free deployment across workstations and server fleets, while active upstream development maintains compatibility with modern Git releases. If your team frequently resolves complex three-way merge conflicts, pair it with an external visual mergetool.
Commands from the official package registries. Each package is matched to Lazygit through the registry's own link to its source code or website.
brew install lazygitwinget install --id JesseDuffield.lazygit -ebrew install lazygitsudo apt install lazygitsudo pacman -S lazygitGo, gRPC and Protobuf done right, LLM agents in production, and the hard parts of shipping a first product.
Show that Lazygit is listed as an open-source alternative. Paste into your README: