
A terminal UI for switching between your recent git branches. Built with Bubble Tea.
It lists your most recently active branches in a table, shows the last few commits on whichever branch you highlight, and switches when you hit enter. If you have uncommitted changes, a modal asks whether to commit or stash them first.
Requires Go 1.24+.
make build # builds to build/recent-branches
# or
go build -o recent-branches
Run it from inside a git repository:
recent-branches # your 10 most recent local branches
recent-branches -n 20 # show more
recent-branches -remote # include remote branches
recent-branches -author all # everyone's branches
recent-branches -author a,b # specific authors
By default it shows only branches you have committed to.
| Key | Action |
|---|---|
↑ / ↓ | Move through branches (or scroll logs when focused) |
enter | Switch to the selected branch |
tab | Toggle focus between table and debug logs |
r | Refresh the branch list |
l | Clear debug logs |
c | Clear the status message |
q / ctrl+c | Quit |
make dev # quick build in the current directory
make test # go test -v ./...
make fmt # go fmt
make lint # golangci-lint
10 commits
Hacker News (1)
Go
98.0%
Makefile
2.0%

A terminal UI for switching between your recent git branches. Built with Bubble Tea.
It lists your most recently active branches in a table, shows the last few commits on whichever branch you highlight, and switches when you hit enter. If you have uncommitted changes, a modal asks whether to commit or stash them first.
Requires Go 1.24+.
make build # builds to build/recent-branches
# or
go build -o recent-branches
Run it from inside a git repository:
recent-branches # your 10 most recent local branches
recent-branches -n 20 # show more
recent-branches -remote # include remote branches
recent-branches -author all # everyone's branches
recent-branches -author a,b # specific authors
By default it shows only branches you have committed to.
| Key | Action |
|---|---|
↑ / ↓ | Move through branches (or scroll logs when focused) |
enter | Switch to the selected branch |
tab | Toggle focus between table and debug logs |
r | Refresh the branch list |
l | Clear debug logs |
c | Clear the status message |
q / ctrl+c | Quit |
make dev # quick build in the current directory
make test # go test -v ./...
make fmt # go fmt
make lint # golangci-lint
Hacker News (1)
10 commits
Go
98.0%
Makefile
2.0%