In Windows 10, I was able to fix this by just right-clicking the file in Explorer, enter the path to the configuration file ( C:\ProgramData\Git ), right-clicking the properties/security the configuration file, the "Advanced / Permissions " tab and giving full access to LogonSessionId_0_XXXXXXX (NT AUTHORITY) .
ARUN CHAUHAN
source share