Working on setting up the git repository in the totorial section 1.3, I was unable to push the git project to the repository getting a
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
After futzing around with a variety of different attempts (following the GitHub recommendations etc), I found that this link described a fix (Thank you Kurt van Gorkom!):
$:git remote add origin <remote url>
replace <remote url> with this information:
"git@github.com:<username>/<reponame>.git"
Otherwise the tutorial proceded flawlessly, allowing me to
- Create a git repository
- connect to GitHub
- Create a branch and make a modification to the README file
- commit the change
- merge the branch to the main branch
- push the changes to GitHub