Manage Git With lazygit

Stage, commit, branch and rebase from a full-screen terminal UI.

macOSTerminalgitcliLow risk
Run lazygit inside a repository to open the Git panel UI.

01Command

Command
$ lazygit

02What it does

lazygit wraps everyday Git operations in panels for files, branches, commits and stashes. You can stage individual hunks, write a commit, resolve conflicts and rebase with single keys, which reduces typos in long Git commands.

03Risk

RiskLow risk
Requirementsbrew install lazygit
CompatibilitymacOS with Homebrew installed
!Warning: The UI can run destructive operations such as hard reset; confirm which branch and commit are selected before pressing the key.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

Last verified: 2026-09-20 · Category: Developer

06Related solutions