lazygit
by jesseduffield
Lazygit is a terminal-based interface for git that lets you stage, commit, branch, merge and rebase using keyboard shortcuts instead of long commands. It is for people who find standard git commands fiddly and want a quicker, more visual way to manage code history.
- Stars
- 83.4k +9 a day
- Licence
- MIT
- Runs on
- Your computer
- Setup
- Easy
- Language
- Go
- Age
- 3083 days
What you can do with it
- Stage individual lines or chunks of a file and commit them
- Run interactive rebases, reorder commits and squash them without editing a text file
- Switch branches, stash changes and resolve merge conflicts from one screen
Ways a business could use it
- Cut the time developers spend on routine git tasks such as staging, rebasing and fixing history
- Avoid paying for a graphical git client licence by using a free terminal tool
Can you use it commercially?
Free to use, change and sell, including in paid products. Keep the copyright notice.
Not legal advice. Read the project's licence file before building a product on it.
Getting it running
Install it with a package manager such as Homebrew or by downloading a release binary from GitHub, then run "lazygit" inside a git repository.
Follow the official instructions in the project README.
Checked 27 Oct 2026. Summary drafted by AI from the project's README.