In brief
git worktree supports multiple working trees attached to one repository. It helps check a fix without replacing the files of the current task.
Useful to know
git worktree supports multiple working trees attached to one repository. It helps check a fix without replacing the files of the current task. [1]
The directories have separate checked-out states but share repository data. They are not completely independent backups. Use the intended management commands when removing them, after preserving any required uncommitted work.
Sources
For further detail and to check the information: