PHP Stormでgitが見つからない、

macで、osをバージョンアップすると、以下のエラーが、、 PHP Stormから、gitがみつからない様子なのだけれど、

Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
/user/bin/git

を設定してやってもだめ、、

/Applications/Xcode.app/Contents/Developer/usr/bin/git

のpathを設定したら無事に動いた。

このサイトが大変参考になりました。 tamamemo.hatenablog.com

しかし、なぜ、xcodeのgit pathが必要なのかはわかっていない。。