Updated tests to match the new branchExists() signature that returns bool instead of (bool, error). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Created internal/git package with WorktreeManager - Implements CreateBeadsWorktree with sparse checkout (.beads/ only) - Implements RemoveBeadsWorktree with cleanup and pruning - Implements CheckWorktreeHealth with repair capability - Implements SyncJSONLToWorktree for JSONL syncing - Comprehensive tests with 100% coverage - Handles symlinks correctly (macOS /tmp -> /private/tmp) - Idempotent worktree creation - Sparse checkout excludes all files except .beads/