Git Worktree Integration in Roo Code || Tutorial

Roo Code
1,129 views January 27, 2026

The biggest friction in a modern development workflow is the context switch. Stashing your work just to check out a different branch for a bug fix or a PR review kills your momentum. Git Worktrees are now directly integrated into Roo Code, allowing you to maintain multiple active branches of the same repository simultaneously. Because each worktree gets its own VS Code window and its own independent Roo Code instance, you can let one agent handle a long-running refactor while you use another to squash a bug on a different branch. It isn't just about organization; it’s about a much more efficient way to let AI handle parallel development without ever losing your place. What we cover: Spawning new worktrees directly from your settings. Managing parallel branches from the Home Screen selector. Toggling the UI to keep your workspace clean. Navigating the "Create Worktree" flow (Base branch, path, and naming). Get started: https://roocode.com Install the extension: https://marketplace.visualstudio.com/items%3FitemName%3DRooVeterinaryInc.roo-code Official Links: GitHub: https://github.com/RooVeterinaryInc/Roo-Code Discord: https://discord.gg/roocode Documentation: https://docs.roocode.com

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close