First of all check for Git version, if it is installed in your device or not
git --version
You will see something like -> git version 2.18.0.windows.1 , if installed.
check for git.exe file at C:\Program Files\Git\bin
If not fount git.exe file, check by setting Git executable path as below:
C:\Program Files\Git\mingw64\bin