Skip to content

The Neighbours

lazygit is one answer to a question many tools ask: how should a person look at a git repository? This chapter walks the street — the command line it sits on, the other terminal interfaces, the desktop clients, the editors that grew their own git faces — and says what each shows that lazygit doesn't, and vice versa. The comparisons are characterised, not benchmarked, and the lab ran none of the neighbours for this guide; criteria.md files the chapter accordingly.

git itself

The neighbour underneath everything. Nothing lazygit shows exists apart from git's objects and git's commands — the command log is the standing proof — and for some work the command line remains the right seat: scripting and automation (a keystroke-driven screen cannot be scripted), one-off queries nobody has built a panel for, servers with no terminal to spare, and the plumbing commands that repair deep damage. The honest division of labour most users settle into: the terminal for thinking in pictures, the command line for everything the picture doesn't reach — and each makes you better at reading the other.

tig and gitk, the old terminal hands

tig is the veteran: a text-mode history browser that has been paging through git log beautifully for years, with staging views of its own. It is lighter, starts instantly, and asks less of the screen; against that, lazygit's panels show everything at once where tig shows one view at a time, and tig's editing operations are a smaller set. gitk and its sibling git-gui — the graphical browser and the committing tool that ship with git itself — are the zero-install option: ugly by modern lights, present everywhere git is, and gitk's history graph remains a fine way to read a tangle. Neither pretends to lazygit's breadth of operations.

The desktop clients

GitHub Desktop narrows the world to GitHub-shaped workflows and is genuinely kind to beginners: big buttons, a history strip, pull requests in reach. Its limits are the same shape as its kindness — one host's model, a fraction of git's operations. Sourcetree, GitKraken and Tower are the full-featured graphical clients: polished graphs, drag-and-drop rebasing, every operation a menu item. They ask a mouse, a window manager, and in some cases a subscription. What lazygit gives back for living in a terminal: it runs over SSH on the server where the repository actually lives, it is the same in every operating system, and it never waits for a window to redraw. What it concedes: a great graphical graph, honestly, is easier to take in at a glance than any text one, and code review inside the client is the desktops' home ground.

Editors with git built in

For many programmers the real neighbour is the editor they never leave. VS Code's source-control view stages, commits and shows diffs in the sidebar, and its timeline and extensions reach further every year; the JetBrains IDEs go deeper still, with a respected interactive rebase and conflict editor. And then there is Magit, the Emacs interface that lazygit openly descends from in spirit: a status buffer where every operation is a keystroke on the thing in front of you. Magit users reading this guide will feel at home and say so; its price of admission is Emacs itself. The pattern across all three: the closer the git face lives to where you write code, the less friction every commit has — and the more the face is shaped, and limited, by its host.

Choosing

The choice is rarely exclusive, and never permanent. A workable rule: read history where the graph is clearest to you, commit where your hands already are, and keep one tool — this guide happens to teach lazygit — whose undo, stash and conflict views you know well enough to use on the worst day, not just the ordinary ones. Panic is a poor time to learn an interface; the neighbours will all still be there when the merge is over.