git-worktree
Manages Git worktrees for isolated parallel development, simplifying workflows with commands for creating, listing, and switching worktrees.
Install this skill
Security score
The git-worktree skill was audited on Feb 12, 2026 and we found 21 security issues across 2 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 29 | ```bash |
Template literal with variable interpolation in command context
| 61 | ```bash |
Template literal with variable interpolation in command context
| 89 | ```bash |
Template literal with variable interpolation in command context
| 105 | ```bash |
Template literal with variable interpolation in command context
| 120 | ```bash |
Template literal with variable interpolation in command context
| 132 | ```bash |
Template literal with variable interpolation in command context
| 146 | ```bash |
Template literal with variable interpolation in command context
| 164 | ```bash |
Template literal with variable interpolation in command context
| 243 | ```bash |
Template literal with variable interpolation in command context
| 252 | ```bash |
Template literal with variable interpolation in command context
| 260 | ```bash |
Access to .env file
| 18 | - **Automatic .env file copying** from main repo to new worktrees |
Access to .env file
| 25 | 1. Copies `.env`, `.env.local`, `.env.test`, etc. from main repo |
Access to .env file
| 62 | # Create a new worktree (copies .env files automatically) |
Access to .env file
| 71 | # Copy .env files to an existing worktree (if they weren't copied) |
Access to .env file
| 97 | 4. **Copies all .env files from main repo** (.env, .env.local, .env.test, etc.) |
Access to .env file
| 151 | # Script runs (copies .env files automatically): |
Access to .env file
| 165 | # For first feature (copies .env files): |
Access to .env file
| 168 | # Later, start second feature (also copies .env files): |
Access to .env file
| 256 | ### .env files missing in worktree? |
Access to .env file
| 258 | If a worktree was created without .env files (e.g., via raw `git worktree add`), copy them: |