When I want to push to github with this command
git push origin master
I got this
Permission denied (publickey). fatal: The rem
I solved a similar problem by adding a System Environment Variable. The key was that I am pointing to the git.exe inside the cmd folder
name: GIT value: C:\Program Files (x86)\Git\cmd\git.exe