Best Answer · By JanBask Salesforce Expert
Answered on Feb 23, 2021
Check your path is set correctly at the time of git installation and You need to add the following paths to PATH:
C:Program FilesGitin
C:Program FilesGitcmd
And check that these paths are correct or not, you may have Git installed on a different drive, or under Program Files (x86). Correct the paths if necessary.