When my Mac commits code using Git, it gets rejected by Husky, and I see the following error:
> git -c user.useConfigOnly=true commit --quiet --allow-empty-message --file -
.husky/_/husky.sh: line 23: sh: command not found
husky - pre-commit hook exited with code 127 (error)
The Terminal or VSCode also report mistakes.
How can I get past this error?