git использует SSH вместо HTTPS
git config --global url.ssh://git@github.com/.insteadOf https://github.com/
Splendid-est Swan
git config --global url.ssh://git@github.com/.insteadOf https://github.com/
git remote set-url origin git@github.com:username/repo-name-here.git
git config --global url.ssh://git@github.com/.insteadOf https://github.com/