← All News

Introducing gion: The Fastest Git Client for Agents

gion is a new open source git client from Baz, built for agents and CI. It fetches only the files, trees and commits a task needs, so agents can read, search, commit and push on huge repositories without a full clone.

NewsNimrod KorNovember 2, 20261 min read
giongitagentsopen sourceci

Today we're releasing gion (pronounced GI-un, git + scion), an open source git client built for agents.

Git assumes every client keeps a full copy of the repository and may work offline. Agents and CI jobs are the opposite: they are always online, usually read a few files, search a bit and push one change, and often run many at once on one machine. For them, a full clone is mostly waste. gion fetches files, trees and commits from the remote only when a task asks for them.

58x
Grep all files
3.49 s vs 203 s
Time (seconds)
Disk: 187 MB vs 7.1 GB (38x less)
git: clone --depth 1 + git grep
7.1x
Check out a folder
1.11 s vs 7.87 s
Time (seconds)
Disk: 111 MB vs 172 MB (1.6x less)
git: sparse clone of docs/
6x
Read one file
0.74 s vs 4.42 s
Time (seconds)
Disk: 32 KB vs 19 MB (590x less)
git: blobless clone + git show
Measured on chromium (66 GB, 510k files), gion with a warm cache vs the fastest git command that gets the same answer. Each card has its own scale. Hover a bar for the exact time.

On chromium, gion greps the whole repository 58x faster than git, checks out a folder 7.1x faster and reads a single file 6x faster. See the full benchmarks.

What you get

  • Fast starts: no clone step. Read, search, diff and log any repository right away.
  • Small footprint: a workspace holds only the paths you ask for. History stays on the server, so many agents can share one machine.
  • Full write path: commit, push to branches and rebase with conflict resolution. Only new objects are sent.
  • Works with your server today: gion speaks the standard git wire protocol, so GitHub and other git servers need no setup.

Try it

sh
curl -fsSL https://raw.githubusercontent.com/baz-scm/gion/main/install.sh | sh
gion cat chromium/chromium abc2bc3fe6dd:README.md

gion borrows your gh login, GITHUB_TOKEN or git credential helper, and public repositories need none. To have your coding agent use gion instead of git clone, run gion skill install (agents guide). In GitHub Actions, use baz-scm/gion-action/checkout@v1 for a sparse checkout (CI guide).

gion is in beta and licensed under Apache 2.0. Read the docs, star the repository, and tell us what your agents need next.

Ready to see Baz in action?

Dive into Baz and see how it helps teams review plans before code is written.