Skip to content

Open-source CLI

Your git branches, organized as a stack.

A single binary that tracks branch dependencies and keeps them in sync. No account, no platform, no lock-in — just gs in your terminal.

Why stacks?

Large PRs slow everything down. Stacking splits work into small, dependent branches that each get their own PR. Reviewers see one logical change at a time, CI runs faster, and you stop waiting.

Tracks dependencies

Every branch knows its parent. Reparenting, deletion, and cleanup happen without you thinking about it.

Restacks automatically

Change something mid-stack and run one command. Descendants rebase onto the updated parent.

Speaks MCP natively

AI agents call structured tools instead of parsing terminal output. Built for the way coding actually works now.

Get started

$go install github.com/israelmalagutti/git-stack@latest

Or try it in the browser without installing anything.