How to Use Git Related Commands in the Built-In Terminal of Intellij Idea in Windows
Hopefully you’ll find this useful. Git is the version control that we use on a daily basis, and there are some conveniences that come along with it when we use the Git command line, such as ‘git grep <your search keyword>’ within your local Git repository.
Assuming that you’ve installed Git for Windows already, just go into the settings in Intellij Idea and change the default path from cmd.exe to git-cmd.exe (depends on which directory have you installed Git). Apply and restart Intellij after that.
Notice that you can start using Git related commands inside the Intellij terminal.