git-worktree-switch

Installation

Make the script executable.

$ chmod +x wts

Copy the executable to any directory in your $PATH

$ sudo cp wts /usr/local/bin