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