I\'m using terminal for mac and running the line
git push origin master
It asks me for my github.com username and password every time, is t
setup your API token as well as your SSH credential (password less though preferably with password with an agent)
The link provided in other answer provides instructions for this as well. Specifically look for step 2 at the bottom.