Worktrees can cover various use-cases and options available during creation reflect that. The process can be started from the following UI areas:
Git > Log
view (paid) context menuDirectory, in which new worktree will be located.
Git reference to create a worktree from. There are several possible types.
The current HEAD revision will be used as a source of worktree.
Branch that will be used as a source of worktree.
This option is available when worktree is created from Git > Log
view and corresponds to selected commit.
Tag that will be used as a source of worktree.
Name of a new branch that will correspond to the selected source. If this option is NOT enabled, the new worktree will have detached HEAD.
If enabled, worktree will be locked after creation.