Open Intellij Idea and cannot find git.exe, the solution is as follows:
1. First of all, make sure to download the git client. The download address is: https://git-scm.com/download/win.
If the github client is installed, the directory that needs to be specified is the PortableGit directory used internally by GitHub, or in Intellij Settings -> Version Control directly configure the GitHub account.
2. Select file->setting:
3. Click test, the following is displayed, which proves that the configuration is correct: