Day 13 : Lazygit

Welcome to Day 13 of my 30 Days – 30 Tools for Developers series!
Today we’re exploring Lazygit, a terminal-based UI that makes working with Git repositories faster, easier, and more visual.


🔹 What is Lazygit?
Lazygit is a text-based UI for Git that runs directly in your terminal. Instead of typing long Git commands, you can navigate, stage, commit, branch, and resolve conflicts using arrow keys and shortcuts.


🔹 Why Developers Use Lazygit
Faster workflows – No need to remember long commands
Visual diffs – See changes before committing
Branch management – Easily switch, create, or delete branches
Conflict resolution – Intuitive interface for resolving merge conflicts


🔹 Real-World Use Case
Imagine you’re contributing to an open-source project with dozens of branches and pull requests.
Instead of typing:

git fetch
git checkout feature-x
git log --oneline
git diff origin/main

You can launch Lazygit with just:

lazygit

Then visually browse branches, check logs, review diffs, and merge — all within one interface.


🔹 Getting Started

Install Lazygit from GitHub:

# On Arch (yay/paru)
paru -S lazygit  

# On Ubuntu
sudo add-apt-repository ppa:lazygit-team/release
sudo apt update && sudo apt install lazygit

Run inside a repo:

lazygit

Conclusion
If you want to speed up your Git workflow and avoid memorizing commands, Lazygit is a must-try tool. It’s especially helpful when dealing with complex branching or resolving conflicts.

👉 Question: What’s your favorite Git productivity tool?

0
Subscribe to my newsletter

Read articles from Shaharyar Shakir directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Shaharyar Shakir
Shaharyar Shakir