Git Setup
Login to your code space and use the commands below - in the terminal to get things set up.
If you see an error at any point, you should get help before you keep going.
For this to work, you’ll need to be sure your SSH key is setup and working.
Execute the following:
ssh -T git@ssh.github.com -p 443
If you read a question about being sure you want to connect, type y
and press enter.
If you read a message that says something like “You have successfully authenticated, then you are okay.” Your key is working.
IF your key IS NOT WORKING, execute the these next three commands - otherwise, skip them.
cd
ssh-keygen
cat .ssh/id_rsa.pub
NOTE that if that last command doesn’t work, your key might have a different name. Use that name instead. BUT BE SURE you copy the one that ends in .pub.
Go to GitHub Settings and add your key.
Test again using the command near the top of the page.
Be sure this is working before you move on.