Problem description
This problem usually occurs when you install Git on the system the second time. This is because the previous Git installation is not clean.
The solution
- in
Control Panel -> Programs -> Programs and Features
Uninstall Git:
- Open show hidden file:
- Removed manually
C:\ProgramData\Git
folder:
- In order toAdministrator statusRun Git installer:
- Selected during installation
Use Git only within Git Bash without changing environment variables
:
Default to all other options, so you can reinstall Git.