AI product Open source

git-twig

git-twig is a lightweight command-line tool for creating Git worktrees for coding agents. It uses filesystem copy-on-write cloning on macOS/APFS and Linux on Btrfs or reflink-enabled XFS, sharing unchanged file data while keeping writes private; unsupported filesystems and checkout cases delegate to ordinary git worktree behavior. Native CoW requires the source checkout, destination, and Git metadata to share a clone-capable filesystem, and local changes and ignored files are not copied. It can be installed with Homebrew or Cargo and is licensed under the MIT license.

View repository Visit site Mentioned in 1 video ↓

What git-twig is used for

1 use taken from transcripts — each links to the moment in the video.

  • A tool that creates git worktrees using file system copy-on-write so coding agents can get separate checkouts while sharing unchanged file data on disk, with native support for APFS, BTRFS, and XFS and fallback to ordinary worktrees.

Videos mentioning git-twig

1 in the library.