'Git' is not an internal or external command, operable program or batch file.
Solution:
Probably go to Baidu search, because there is no reason to configure Git environment variables, but no concrete steps to solve, hereby record it.
Right View git installation directory:
Entry
where git
II. Configuration Environment Variables
Right My Computer -> Properties
Click on Advanced System Settings -> Environment Variables -> select user variables or system variables Path, click Edit
According to Git installation directory, add the following address:
Git installed root directory, as shown below:
Reopen cmd command interface, enter the following command to test