I've just set up git integration in Statamic on my local machine (following the docs but unfortunately I get this error every time I try to edit a page from the control panel:
The provided cwd "sh: line 0: exec: git: not found/" does not exist.
Interestingly, committing (and pushing) changes works when I run
php please git:commit from the command line.
The Statamic installation is pretty bare bones, nothing fancy, running with
php artisan serve.
I tried disabling automatic but I got this error when I tried committing from the control panel.
STATAMIC_GIT_ENABLED=true STATAMIC_GIT_PUSH=true STATAMIC_GIT_AUTOMATIC=false