I am trying to push files to my remote repository from my local repository and I see this
fatal error : fatal: unable to access \'https://github.com/viniv
This solved my problem:
http version:
git config --global --unset http.proxy
https version:
git config --global --unset https.proxy
I had a similar issue using the GitHub client on Windows 10. Running as administrator seemed to fix it.
In Windows, if you've any third party firewall (or internet activity monitor) installed, then configure them to allow your client to access outside connection.
If there aren't any 3rd part firewallls, then go to control panel, search for firewall. Inside the firewall panel, select Add a new exception (or similar option). Allow the git client both inbound and outbound access.
I recomend you to switch to ssh.
You can get github ssh link from same place where https one. Then you just have to generate/add your ssh key to github profile. And that's it.