# Lazygit

Lazygit Git client with documented repository workflows and platform constraints\.

ID: Q426 · Revision: 412

Type: software · License: MIT[^lazy-license] · Status: active

Website: https://github.com/jesseduffield/lazygit



Lazygit is a terminal user interface for Git commands, with panels for repository state, changes and history\. It supports selective staging, interactive rebase and worktree workflows through keyboard\-driven controls\. The project provides Windows, macOS and Linux releases, making it a different interface to Git rather than a new repository format or hosting service\.[^lazy-readme]

## Review and history editing

Users can stage hunks or individual lines, cherry\-pick commits and alter earlier history through rebase operations\. Worktrees allow more than one branch checkout without repeatedly replacing the same working directory\. The GitHub pull\-request indicators described in the README additionally require the GitHub CLI and authentication; they are not proof that local Git work requires a GitHub account\.[^lazy-readme]

## Undo is not a general recovery mechanism

Lazygit's undo and redo use the reflog\. They can therefore trace supported commit and branch movements, including actions performed outside Lazygit, but cannot recover arbitrary working\-tree or stash changes\. The documentation also excludes undo during an active rebase and reversing a remote push\. Users must distinguish retained history from uncommitted data before relying on the undo shortcut\.[^lazy-undo]

## Configuration and custom actions

Global YAML settings can be overridden by a repository\-local configuration, and parent directories can contain configuration applying to groups of repositories\. Custom command bindings use templates, contexts and optional prompts to execute external commands\. Migrating a setup consequently means reviewing its commands and local tool dependencies, not simply assuming the YAML file is a harmless visual theme\.[^lazy-config][^lazy-custom]

## License and application scope

Lazygit is MIT\-licensed\. Its terminal interface still relies on the surrounding terminal and Git environment for the project workflow\. A local repository can be inspected without converting its history, but client\-specific settings and hosted\-service authentication are not carried by the commit graph\. Custom actions can also depend on utilities that are absent on another machine\.[^lazy-license][^lazy-readme][^lazy-custom]

## Substitution considerations

Lazygit can replace Git Extensions for keyboard\-driven review, staging and history work, including on systems where the Windows\-only client is not available\. It does not reproduce Windows Explorer or Visual Studio integration, and its reflog\-based undo has explicit exclusions\. The directional comparison is strongest for Git operations, not identical desktop presentation or a universal safety net\.[^lazy-readme][^lazy-undo][^ge-readme][^ge-commit]

## Capabilities and substitutions

### Selective staging and rebase — supported

Terminal panels support hunk/line staging and interactive history operations\.[^lazy-readme]

Use case: Git repository management · Platforms: Windows, macOS, Linux · Region: Remote\-host availability and account policies apply

### Working\-tree undo — unsupported

The reflog\-based undo mechanism does not cover working\-tree or stash edits\.[^lazy-undo]

Use case: Git repository management · Platforms: Windows, macOS, Linux · Region: Remote\-host availability and account policies apply

### Substitute for git\-extensions (catalog entry pending) — limited

A cross\-platform terminal alternative for shared Git operations; Windows desktop integrations and recovery semantics differ\.[^lazy-readme][^lazy-undo][^ge-readme]

Use case: Keyboard\-driven Git review and history work · Platforms: Windows, macOS, Linux · Region: Remote\-host availability and account policies apply

## References

[^lazy-license]: [Lazygit license](<https://github.com/jesseduffield/lazygit/blob/master/LICENSE>) — MIT license (vendor; retrieved 2026-10-07T01:11:39Z)

[^lazy-readme]: [Lazygit README](<https://github.com/jesseduffield/lazygit/blob/master/README.md>) — Terminal UI, staging, rebase, worktrees and gh\-backed PR indicators (vendor; retrieved 2026-10-07T01:11:39Z)

[^lazy-undo]: [Lazygit undo and redo](<https://github.com/jesseduffield/lazygit/blob/master/docs/Undoing.md>) — Reflog\-based undo exclusions and mid\-rebase limitation (vendor; retrieved 2026-10-07T01:11:39Z)

[^lazy-config]: [Lazygit configuration](<https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md>) — Global, repository\-local and parent\-directory YAML configuration (vendor; retrieved 2026-10-07T01:13:32Z)

[^lazy-custom]: [Lazygit custom commands](<https://github.com/jesseduffield/lazygit/blob/master/docs/Custom_Command_Keybindings.md>) — YAML command templates and execution contexts (vendor; retrieved 2026-10-07T01:11:39Z)

[^ge-readme]: [Git Extensions README](<https://github.com/gitextensions/gitextensions/blob/master/README.md>) — Windows scope, integrations and portable\-update files (vendor; retrieved 2026-10-07T01:11:39Z)

[^ge-commit]: [Git Extensions commit documentation](<https://github.com/gitextensions/GitExtensionsDoc/blob/master/source/commit.rst>) — Staging and unstaging lines; index versus working tree (vendor; retrieved 2026-10-07T01:12:18Z)

Source revision: https://substitutefor.net/entities/Q426?revision=412
