Submitted by
Dmitro
on
Solution for Apple M1 - using homebrew:
> Settings -> Git -> Use System Git -> "/opt/homebrew/bin/git" (NOT "/usr/*/git")
This magically added "/opt/homebrew/bin" to SourceTree's $PATH and all git hooks started working again.
For macOS:
To get additional debug logging for troubleshooting launcher issues, set the environment variable before starting the IDE:
export IDEA_LAUNCHER_DEBUG=true
cd /Applications
./PhpStorm.app/Contents/MacOS/phpstorm