A simple terminal UI for git commands that makes staging, committing, rebasing and branch work faster from the keyboard.
jonas/tig
A text-mode, ncurses-based terminal interface for browsing Git repositories and staging changes by chunk.
Open-source alternative to:GitKraken
Sourcetree
- Stars
- 13,369
- Forks
- 674
- Open issues
- 234
- Last commit
- 8 days ago
What is it?
Tig is an ncurses-based text-mode interface for Git. It is mainly a repository browser that lets you move through commits, branches, file history, blame and diffs without leaving the terminal.
Beyond browsing, Tig can stage changes for commit at chunk level, so you can pick individual hunks of a file rather than the whole file. It can also act as a pager for the output of various Git commands, displaying them in a navigable view.
Tig runs in any terminal that supports ncurses and is documented with a manual page and installation instructions in the repository.
Key features
- 01Browse commits, branches, file history, blame and diffs in a terminal view.
- 02Stage changes for commit at chunk level.
- 03Act as a pager for output from various Git commands.
- 04Runs in any ncurses-capable terminal.
Use cases
- Reviewing commit history over SSH on a remote server.
- Selectively staging individual hunks before committing.
- Quickly inspecting blame or file history without a GUI client.
Quick start
- 1
Read the build and install instructions in INSTALL.adoc
- 2
Check the installed version
tig -v
Things to know
- Installation is by building from source as described in the INSTALL instructions.
- Licensed under GPL-2.0, a copyleft license that applies to derived works.
Topics
FAQ
- What is tig?
- A text-mode, ncurses-based terminal interface for browsing Git repositories and staging changes by chunk. Tig is an ncurses-based text-mode interface for Git. It is mainly a repository browser that lets you move through commits, branches, file history, blame and diffs without leaving the terminal.
- Is tig free to use? What license does it have?
- tig is open source under the GPL-2.0 license. Check the license terms before using it in commercial products.
- Is tig still maintained?
- Actively maintained. The last commit to tig was on Oct 13, 2026.
- What can I use tig for?
- Reviewing commit history over SSH on a remote server. Selectively staging individual hunks before committing. Quickly inspecting blame or file history without a GUI client.
- How do I install tig?
- Read the build and install instructions in INSTALL.adoc Check the installed version: tig -v
- Where can I get tig?
- The source code and installation instructions are on GitHub: https://github.com/jonas/tig
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A terminal user interface for Git, inspired by Magit, for staging, committing, branching, rebasing and more from the keyboard.
A terminal UI for git written in Rust, offering keyboard-driven staging, committing, branching, stashing and log browsing.
A terminal tool that replays Git commits as animated typing sessions with syntax highlighting and file tree transitions.
A terminal UI that renders a git commit graph as images, similar to git log --graph --all, for browsing repository history.
A tiny, fast terminal file manager in C for browsing, batch renaming, disk usage analysis and launching apps.