OS: Windows10
git version: 2.23.0.windows.1
few months ago I've forked a repository and everything worked perfectly. I've had to hard reset my windows, now whenever I try to clone forked repository using it git clone 'https://github.com/user_name/repo_name.git'
.
it gives me
remote: Repository not found. fatal: repository 'https://github.com/user_name/repo_name.git/' not found
running git config --list
all of my credentials are correct. What might be the cause?
following @VonC
first, I've tried git clone https://github.com/user_name/repo
which outputs
fatal: unable to access 'https://github.com/user_name/repo/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
second, I can access repo by inserting https://github.com/user_name/repo
successfully.
third, running git config --global http.sslBackend "openssl"
then trying to clone git still render same repo not found
Fourth, by running git config -l
I get http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
so now running git config --system http.sslcainfo "C:\Program Files\Git\mingw64\ssl\certs\curl-ca-bundle.crt"
, it should work but
it gives me error: could not lock config file C:/Program Files/Git/mingw64/etc/gitconfig: Permission denied