
tig
ncurses-based text-mode interface for browsing Git repositories and staging changes
Tig is an ncurses-based text-mode interface for Git that serves as a repository browser with interactive capabilities. It displays Git repository information in a terminal-based user interface, allowing users to navigate through commit history, branches, and repository structure using keyboard navigation.
The tool functions as both a Git repository browser and a staging assistant, enabling users to stage changes for commit at the chunk level. It can also act as a pager for output from various Git commands, providing a more interactive way to view Git information compared to standard command-line output.
Tig targets developers who work extensively with Git repositories and prefer terminal-based workflows over graphical Git clients. The ncurses interface provides a full-screen terminal experience with multiple views for different Git operations, making it particularly useful for reviewing code changes, exploring commit history, and preparing commits in environments where GUI tools are not available or preferred.
Alternatives & related tools
git-secrets
Prevents committing passwords and sensitive information to git repositories using pattern matching and hooks
gh-dash
Terminal UI for GitHub that lists configurable pull request and issue sections, with vim-style hotkeys, custom actions, and a YAML config file.
git-lfs
Git extension for managing large files by storing them outside the repository with pointer files
gitoxide
Pure Rust implementation of Git, offered as the gix library crate plus gix and ein command-line binaries for testing the API and running workflow tools.
onefetch
Command-line tool that displays Git repository information and code statistics in terminal
add a badge to your README
Maintain tig? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/tig?utm_source=badge)<a href="https://www.trmn.sh/tools/tig?utm_source=badge"><img src="https://www.trmn.sh/badge/tig.svg" alt="Featured on trmn" height="20"></a>