TL;DR — Quick Summary
GitUI is a blazing fast terminal UI for Git. Stage hunks, commit, branch, stash, push, and resolve conflicts — all with keyboard shortcuts, written in Rust.
GitUI makes Git fast and visual. Stage hunks, write commits, switch branches, push — all from keyboard shortcuts in a clean TUI.
Installation
# macOS
brew install gitui
# Arch Linux
sudo pacman -S gitui
# Cargo
cargo install gitui
# Nix
nix-env -iA nixpkgs.gitui
Key Commands
# Launch in any git repo
gitui
# Tabs (switch with number keys):
# 1 → Status (stage/unstage files)
# 2 → Log (commit history)
# 3 → Stashing
# 4 → Stashes list
# Actions:
# Enter → Stage/unstage file
# s → Stage hunk
# c → Commit
# p → Push
# P → Pull (capital)
# b → Branch operations
# f → Fetch
# d → Diff view
# / → Search
# ? → Help
# q → Quit
Comparison
| Feature | GitUI | Lazygit | tig | git CLI |
|---|---|---|---|---|
| Language | Rust | Go | C | C |
| Startup | Instant | Fast | Fast | Instant |
| Hunk staging | Yes | Yes | No | -p flag |
| Merge conflicts | Yes | Yes | No | Manual |
| Interactive rebase | Basic | Full | No | -i flag |
| Memory | ~5MB | ~20MB | ~10MB | Minimal |
Summary
- GitUI is a blazing fast Git TUI written in Rust (~5MB memory)
- Stage files and hunks, commit, push, pull, branch — all keyboard-driven
- Built-in merge conflict resolution and diff viewer
- Tabs for status, log, stashing — clean organized interface
- Instant startup, no configuration needed