http://www.webhack.jp/tool/phpstorm-cannot-run-program-git-exe
WindowsにおけるGit利用環境は整った: Git for Windows と SourceTree for Windows - 檜山正幸のキマイラ飼育記
Redirecting Git for Windows' homepage... (Git-1.9.5-preview20150319.exe)
基本、こちらの解説通りに進める。
注意すべきは次の3点
- 余計な機能は全部外す
- git bash以外でも起動できるようにする (Run Git from Windows Command Prompt)
- 改行コードはいじらない (Checkout as-is, commit as-is)
PHPStormで使うときは、インストールした後にgit.exeをフルパス指定する