gitu
Terminal user interface for Git inspired by Magit, providing visual staging, branching, and repository management
Gitu is a terminal user interface (TUI) for Git that brings Magit-style workflows to the command line. It provides a visual interface for common Git operations including staging and unstaging files, hunks, or individual lines, managing branches, and handling commits with support for amend and fixup operations.
The tool implements core Git workflows through keyboard shortcuts that mimic Magit while maintaining Vim-like navigation. Users can perform rebasing operations (interactive, autosquash, abort, continue), manage stashes (save, pop, apply, drop), and handle repository state with reset operations (soft, mixed, hard). It supports fetching, pulling, and pushing to configured upstream or pushDefault remotes.
Gitu integrates with system editors through standard environment variables (VISUAL, EDITOR, or GIT_EDITOR) for commit messages and file editing. Configuration is stored in platform-specific locations using TOML format. The interface includes a help menu accessible via the 'h' key, making Git operations discoverable for users transitioning from Magit or seeking a visual alternative to command-line Git.


Alternatives & related tools
serie
Terminal UI for git commit graphs using image protocols to render rich visualizations in supported terminals
lazyjj
Terminal UI for Jujutsu version control system, providing interactive log browsing, file management, and bookmark operations
gitnr
Cross-platform CLI tool for creating .gitignore files from GitHub and TopTal template collections
git absorb
Git subcommand that automatically creates fixup! commits from staged changes by finding the commit each hunk belongs to, with optional autosquash rebase.
ftdv
Terminal-based diff viewer for Git with interactive file tree navigation and configurable external diff tool support.
add a badge to your README
Maintain gitu? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/gitu?utm_source=badge)<a href="https://www.trmn.sh/tools/gitu?utm_source=badge"><img src="https://www.trmn.sh/badge/gitu.svg" alt="Featured on trmn" height="20"></a>