This tutorial will show you how to install and use the Git Bash terminal emulation within PhpStorm in place of the Windows terminal.
You have downloaded and installed Git for Windows
Adding Git Bash to PhpStorm
Step 1 – Open PhpStorm and go to settings Ctrl+Alt+S
Step 2 – Click on Terminal
Step 3 – Enter “C:\Program Files\Git\bin\sh.exe”–login in Shell path under Application settings
Step 4 – Press Alt+F12 to open a terminal window and your terminal should now use the Bash emulation.