Staging, committing, branching, and reading diffs shouldn't require leaving your terminal — or memorizing twenty git flags. git-tork gives you a fast, focused TUI:
- Zero install — run it with
npx - Keyboard-first — every action is a keystroke away
- Mouse support — click panes, rows, and sections when you feel like it
- Runs anywhere — any terminal with a Node.js ≥ 18 runtime
# Run instantly
npx git-tork
# Or install globally
npm install -g git-tork
git-tork
# Point it at any repo
git-tork /path/to/repo- Commit graph — colorized
git log --graphacross all branches, scrollable - Changes view — stage/unstage files, write commit messages, amend the last commit
- Diff viewer — per-file diffs with syntax-highlighted
+/-/@@lines - Branch management — checkout, create branches, browse remotes from the sidebar
- Push & pull — one keypress, with live status feedback in the header
- Mouse support — click to focus panes and select list rows
- Alternate screen buffer — your terminal scrollback stays clean
| Key | Action |
|---|---|
↑ / ↓ |
Navigate lists |
← / → |
Move focus between panes (Sidebar ↔ Commits, or Sidebar ↔ Status ↔ Diff) |
p |
Push |
l |
Pull |
q / Ctrl+C |
Quit |
| Key | Action |
|---|---|
Enter |
Checkout branch / open view / toggle section |
Space |
Collapse or expand a section |
r |
Refresh branches and remotes |
Enter on + New Branch |
Create a new branch |
| Key | Action |
|---|---|
s |
Stage highlighted file |
u |
Unstage highlighted file |
c |
Focus the commit message input |
a |
Toggle amend (pre-fills last commit message) |
Enter |
Show diff for highlighted file / submit commit |
Esc |
Cancel text input |
git clone https://github.com/sijintv/git-tork.git
cd git-tork
npm install
npm run dev # run from source with tsx
npm run build # compile to dist/Built with React, Ink, and simple-git.
Issues and PRs are welcome. If you hit a bug, please include your terminal emulator, OS, and Node version.
MIT © Sijin T V

