Error code
fatal : unable to access 'https://***/': error ******
CAfile: *****/Git/minw64/ssl/certs/ca-bundle.crt
CApath: none
Cause of the error, changing the Git installation directory may cause this problem
Solution: Modify the file content under C:/ProgramData/Git/
to the correct path.
I also encountered this problem today. I tried your solution but it didn't work. The reason is that in addition to this config file, there are other configuration files covering this config file. What's crazy is that uninstalling and reinstalling git doesn't work. Can't solve the problem.
In fact, you can use the command git config -l to list all current configurations, check whether there are any configuration errors in the sslCAInfo item, and then modify them.
Just modify this file, C:Usersusername.gitconfig
I just encountered this problem today, so I will post my solution here for reference by those who need it
Replace the bold part with the correct configuration path