The gix library supports git worktrees, and by using them we could save on cargo build cache. This issue is under-specified and requires more design.