leostera/git-twig

lightweight git-worktrees for agents

Open original source ↗

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

With twig, your agents can create cheap lightweight worktrees and use up to 97% less space on disk. Imagine all the worktrees you could now make! Or install from crates.io with Rust 1.95+ and Git 2.40+: On Windows, use cargo install or the .zip attached to each release. For local development: cargo install --path crates/git-twig --locked. With your source checkout in main/: Version 0.5.0 can reuse matching files from nearby worktrees for other revisions too. Git writes changed or new files, and converted files whose bytes differ. Short help works outside a checkout: git twig -h or git twig new --help. For coding agents: git twig skill prints the bundled skill. Give those instructions to your agent so it chooses the right checkout, branch and location, uses Twig for creation, and asks before cleanup. Twig does not manage agent sessions or intercept an app's built-in worktree creation; no client-specific hook…

leostera/git-twig on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-11-21T13:17:11.810Z

Inside the original README — Document outline
  1. git twig 🌱
  2. Install
  3. Use
  4. Organize existing worktrees (development main)
  5. Filesystem support
  6. Checkout policies
  7. Benchmarks
  8. v0.5 checkout coverage
  9. Develop

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the README

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: MIT. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

lightweight git-worktrees for agents

Repository facts

Owner
leostera
Primary language
Rust
Stars
271
Forks
11
Open issues + pull requests
5
License
MIT
Archived
No
Default branch
main
Created
2026-11-15T11:12:07.000Z
Last push
2026-11-20T13:23:20.000Z

Topics and intended use

Owner-supplied topics: agents, git, worktrees

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-11-21T12:28:44.152Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

ultraworkers/claw-code

farion1231/cc-switch

openai/codex

rustdesk/rustdesk

rust-lang/rust

pbakaus/impeccable