git delete worktree code example Example: git worktree remove $ git worktree remove ../path-to-folder