I built a Git client for the way I actually work: many repos, many branches, and AI agents in parallel

2026-12-03来源 dev.toEnglish
I built a Git client for the way I actually work: many repos, many branches, and AI agents in parallel

A normal workday for me no longer looks like "one repo, one branch, one editor".

It looks like this: three or four repositories open at once. A couple of branches in flight in each. A dev server running in one terminal, Docker Compose in another. And, more and more often, an AI agent working on its own branch in a worktree while I do something else.

Every Git client I tried was built for the first picture. You open a repository, you look at its branches. The moment you have five of them going, you are back to a wall of terminal tabs and git status in a loop.

So I built Ramuri (Romanian for "branches"): a free, native macOS Git client for people who juggle many repos and many branches at once.

Ramuri: several repositories in the sidebar, the checked-out branch's changes grouped by file type

The idea: one sidebar for everything that is active

Ramuri keeps every repo you work on in one sidebar. Each repo is a card that shows:

  • the base branch and the checked-out branch, with lines changed and ahead/behind,
  • branches still in progress (not yet merged into base),
  • pull requests and CI status,
  • terminals, Docker containers, worktrees and Claude Code agents that belong to that repo.

The part I care about most is that the list maintains itself. A repo is active while any of these is true:

  • you changed files or did a local Git action (commit, checkout, new branch) in the last N days,
  • one of its terminals is running a process,
  • one of its containers is running,
  • one of its AI agents is working or waiting for you.

When none of that is true anymore, the repo quietly drops to Inactive. No pinning, no archiving, no bookkeeping. New commits from teammates do not wake a repo up. Only your activity does.

Active repositories at the top, inactive ones listed below

Plain Git, no magic

There are Git clients that reinvent the model: virtual branches, auto-stashing, hidden rewrites. I wanted the opposite. Ramuri is plain Git:

  • no virtual branches, no hidden rewrites, no auto-stash,
  • every destructive action asks first,
  • if you switch branches with uncommitted changes, it asks whether to stash them, bring them along, or cancel.

If you close Ramuri and open a terminal, your repo looks exactly the way you expect.

Under the hood

The stack:

  • Rust for the core (ramuri-core),
  • Tauri 2 for the native shell,
  • Svelte 5 for the UI.

A few decisions that shaped the architecture:

Reads through gix, writes through the git CLI

Ramuri reads a lot: branches, ahead/behind counts, history, the commit graph, for many repos at once. For that it uses gix, the pure-Rust Git implementation, which is fast and doesn't need a subprocess for every question.

But every write goes through the real git CLI. Commit, checkout, merge, pull, push, worktree creation: all of it is git. That way your hooks, your credential helpers, your SSH config and your Git version behave exactly as they do in the terminal. I didn't want a second Git implementation deciding what happens to people's repositories.

Activity comes from the reflog

To decide which repos are active, Ramuri looks at working-tree changes and at the reflog. The reflog records local Git actions no matter which tool did them, so a commit made from the terminal, from your editor or by an agent counts exactly like one made in Ramuri.

GitHub through your existing gh login

There is no separate GitHub login. Ramuri uses the token of your GitHub CLI (gh auth login) and never stores it. That gives each branch its PR number, PR state and combined CI checks, which color the sidebar, the history and the commit graph.

A nice side effect: a branch whose PR was merged leaves the In progress list even after a squash merge, which pure Git can't tell you (the commits on main are not the commits on your branch).

Branch card: base branch, checked-out branch, agents, worktrees and in-progress branches grouped by prefix

Changes grouped by what files are

Big diffs are hard to review when tests, config and source are mixed together. The Changes tab splits files into groups (unit tests, E2E tests, config, docs, source) defined by glob patterns you can edit. Big groups start collapsed, so a 40-file refactor doesn't bury the three files you actually care about.

Changes split into Unit tests, E2E tests, Config, Docs and Source

Worktrees and AI agents as first-class citizens

This is the part that made me build Ramuri in the first place.

When an AI coding agent works in parallel with you, it usually works in a Git worktree. Most Git clients don't show worktrees at all, so the agent's branch is effectively invisible until it opens a PR.

In Ramuri, worktrees (including the ones agents create, like .claude/worktrees/) appear in their repo's card. You select one and see its changes, history and PR like any other branch. You can also create worktrees yourself; they go to <repo>/.worktrees/<name>, and that folder is excluded locally in .git/info/exclude, so it never shows up as untracked files in your main checkout.

For Claude Code specifically, Ramuri reads the session transcripts and shows each session under its repo with a state: working, needs permission, asks a question, may need you, done.

Agents section: one agent working, one that may need you

Two details I'm happy with:

  • Prompt-cache timer. Each waiting agent shows how many minutes are left before its prompt cache goes cold, so you know whether continuing the session is still cheap. There is an optional macOS notification when a 1-hour cache has 10 minutes left.
  • Optional hooks for exact state. A pending permission prompt is never written to the transcript, so from the transcript alone Ramuri can only guess. If you want it exact, Ramuri can install a few Claude Code hooks. Each hook just drops the event JSON into a folder that Ramuri reads. It doesn't block Claude Code, doesn't change what it does, and makes no network calls. Install shows you exactly what will be written, backs up your files first, and Remove takes out only what Ramuri added.

Terminals and Docker, attached to the repo

Each repo can have real terminals started in its root. The sidebar shows what each one is running (npm run dev, for example), and a running process keeps the repo active.

Docker Compose projects show up under the repo they run from, with each service's state, ports, logs and a shell. Deactivating a repo asks first, then stops its terminals and containers. That turned out to be my favorite "end of the day" button.

A Compose project with three running services, ports, uptime and combined logs

What it doesn't do (yet)

I'd rather be upfront about this:

  • macOS only. Windows and Linux are out of scope for v1.
  • GitHub only as a hosting provider.
  • Claude Code only as a harness provider.
  • No hunk-level staging, no rebase or cherry-pick UI, no built-in conflict editor (conflicts open in your external editor).
  • No signed binary yet. For now you build it from source:
npm ci npm run build npm run tauri build # .app / .dmg in target/release/bundle/ 

You'll need Xcode Command Line Tools, Node.js, Rust and git. gh, docker and claude/codex are optional. If you just want to see it, the live demo runs in the browser.

Try it, break it, tell me

Ramuri is MIT-licensed and in active development. I'd love feedback, especially from people who work across many repos at once or run AI agents in parallel with their own work:

  • What does your current multi-repo setup look like?
  • What would make you switch from your current Git client?

Issues and PRs are welcome on GitHub. And if you like it, a ⭐ helps more people find it.

原文:https://www.a8q9.cn/en/article/i-built-a-git-client-for-the-way-i-actually-work-many-repos-many-branches-and-ai-96922a.html

相关文章