Use git push origin master to be a problem as follows;
the Username for 'https://github.com':
Solution:
git remote set-url origin git+ssh://[email protected]/username/reponame.git
Original link: https: //blog.csdn.net/themagickeyjianan/article/details/82661953