I don't understand Github authentication http and ssh, please help

I’ve arrived at the Basic Git Workflow module in the web dev career path. I’ve installed git and created an account. But the whole authentication thing is very vague to me. I don’t really understand what I’m supposed to do.

It’s in this article, step 4 of setting up for Windows: git setup article

I’ve read through github’s article and I’ve looked around but everything I read just confuses me more. What am I supposed to do?

You need to connect your local repository to the remote central hub (github in this case)

for this, there are two ways: ssh ans https. The the tutorial seem to use HTTPS, although i prefer ssh.

Anyway, in your local git repository add the remote of the central hub:

git remote add origin https://yourrepo

where the https:// is what you copied from the github website.

2 Likes

Problem solved? What was the problem?

Yes I suppose it’s not really. I’ve spent 3-4 hours now on this (not just today) and I am extremely uncomfortable with this github chapter.

I can’t follow the codecademy instructions. I can type what they tell me to type, but because I have no idea what I’m doing and why I’m doing it, what the consequences will be I feel extremely uncomfortable working in bash because of the powerful ways in which I could accidentally screw up my pc.

Have you created a repository on github?

The commands in this tutorial are harmless. But you need to understand what thecommands do. Have you followed the git tutorial?

Thanks for your help (and patience). Yes I’ve followed the tutorial. I took a break too, that sometimes helps with seeing things clearly, and I’ll try again.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.