Every command in this guide was tested on Ubuntu 26.04 and RHEL 10. You’ll learn how to install lazygit, understand its interface, stage and commit changes, create and switch branches, view commit history, resolve merge conflicts, and stash changes—all without leaving a single terminal window.
Normally, you’d run git status, use git add -p to stage the right changes, check them with git diff –staged, commit with git commit, and then verify everything with git log –oneline –graph.
That’s several commands just to complete one change. With lazygit, you can do all of this from one screen using the arrow keys and a few simple keyboard shortcuts.