How to use the PHP command in the Git Bash?
To be able to use the PHP command in the Bash of Git (Git Bash) you have to execute this command:
alias php='C:/xampp/php/php.exe'
What goes between the single quotes is the address where the PHP executable is located.