A few steps to set up git/github on Mac machine
$ git config --global user.name "Your Name Here"
$ git config --global user.email "your_email@youremail.com"
$ git config --global user.password [token-generated]
settings > developer settings (last option on left hand side) > personal access tokens > generate new token
When you clone (remotely) a repo, input the user name and when prompted for password, use the personal access token