git
5 articles
Claude Code CLI Gets Built-In Git Worktrees: Run Parallel Agents Without Branch Collisions
Claude Code CLI now includes first-class Git worktree support via `--worktree`. Teams can run multiple isolated AI coding sessions in parallel without file collisions, making multi-agent workflows more reliable and easier to standardize for real engineering teams.
Forget Google Docs — Use GitHub as Your AI Agent's Shared Workspace
Will your AI agent's work survive until tomorrow? Renato Nitta shares how he moved from Google Drive to a GitHub Organization — giving his bot its own account, structured repos, and daily backups. Git isn't just version control. It's your agent's long-term memory.
Matt Pocock's Git Guardrails: Stop Claude Code from Accidentally Nuking Your Repo with git push --force
Matt Pocock (TypeScript guru, Ralph Loops evangelist) released a Claude Code skill: git-guardrails. It uses a PreToolUse hook to intercept dangerous git commands (push, reset --hard, clean -f, etc.), so you can safely let your AI agent run in YOLO mode inside Docker Sandbox without worrying about it blowing up your git history. One command to install, more reliable than any prompt engineering.
OneContext: Teaching Coding Agents to Actually Remember Things (ACL 2025)
Junde Wu from Oxford + NUS got fed up with coding agents forgetting everything between sessions. So he built OneContext — a Git-inspired context management system using file system + Git + knowledge graphs. Works across sessions, devices, and different agents (Claude Code / Codex). The underlying GCC paper achieves 48% on SWE-Bench-Lite, beating 26 systems. Backed by an ACL 2025 main conference long paper.
Obsidian & Claude Code: Async Hooks for Note History
Imagine time-traveling through your notes. Claude Code's Async Hooks let you auto-commit after every edit without any slowdown, then read that history in actually useful ways. Your vault becomes a thinking journal that writes itself.