In the source of the OSS project I am working on, there is a script written to create release version from the repository. The script throws an error on this line
git worktree prune
The error is :
git: 'worktree' is not a git command. See 'git --help'.