Git and GitHub for Beginners - Crash Course
Why Stack Overflow recommends it
Stack Overflow users mention it as the tutorial they were following when they hit problems with SSH keys, git clone in VS Code, or git status showing no changes.
Recommended by 0 people across 0 different months, 2020 to 2022.
What it is
A 68-minute freeCodeCamp crash course by Gwen Faraday that introduces version control, Git and GitHub for complete beginners. It covers installing Git, using VS Code, cloning, add/commit/push, SSH keys, branching, undoing changes and forking.
What people said
Cites New Coder · 2020-06 · Stack Overflow · on “why my github account s connecting to the command line?”
for this wonderful community that inspired me to start my learning journey. My name is Lina and I just started teaching myself about web-development few days ago. I am learning about Git and Github for few days. My basic understanding of Git and Github is that Git is a tool that we use to track the history of our folder or repository at the local machine where Github is a website where we can share our code with other collaborators(remotely). Here what I did step by step until I stick with the issue: I created a Github account. I checked the command line(terminator)if I have git install in my laptop (I am using Mack laptop). Open the command Line: then type (git --version) and here what I go
Cites user15356378 · 2021-03 · Stack Overflow · on “SSH key using Git”
I'm new to GitHub and, after having followed this tutorial [this video] , I'm trying to understand SSH keys. I already created a key and added it to my account. For the moment I have no more than a few test repositories, which I clones locally. Now, the problem is that, even if I do not set my ssh-agent (or I remove all the keys from GitHub) I can still update my repos and push to them. The only thing I can't do with a verified key is cloning a repository using the SSH link (e.g. git@github.com:username/repository.git ), but I can still clone and push to repositories using the https link (e.g. [LINK] ). I initially thought [LINK] that cloning was allowed using the https but I could not push, but
Cites suz_m · 2021-03 · Stack Overflow · on “Git Won't Show Changes I Made to a File”
I'm trying to learn how to use github, so I'm following along with this video: [this video] I made a new repository and filled it with a file called README.md. You can see it here: [LINK] But, when I make changes to the file in visual studios, the git status command doesn't show that I made any changes and so I can't commit them. Here's what it looks like: visual studios screenshot [LINK]
Cites Gurinder · 2021-03 · Stack Overflow · on “Cannot save keys to SSH Shell”
I'm new to programming. I'm learning how to use Github. I'm following [this video] tutorial on how to use Github. I'm at the 25 min mark. I'm connecting my computer to Github. I'm in the terminal and type: workspace@Gurinderss-iMac ~ % vim ~/.ssh/config I'm in a place where I paste the following: Host * AddKeysToAgent yes UseKeychain yes IdentityFile ~/.ssh/id_ed25519 Problem is I can't save this file. I've tried to open up another terminal and used this command: ssh-add -D It's from here: [LINK] .
Cites Ray · 2022-07 · Stack Overflow · on “how to do "git clone" on VS code”
Today, I am following this video [this video] to learn how to use GitHub, but I am using Windows. I've set it all successfully by also following the official instruction ( [LINK] ) and it works on Git Bash. enter image description here [LINK] But I failed when I tried to "git clone" in Visual Studio Code and got this response: git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. I've also tried setting the config because the video mentioned config (although the official instructions does't mention this, which means Windows users don't need to care about this. But this was what I tried to solve the problem, just in case this could make influence on my proble
Cites Ray · 2022-07 · Stack Overflow · on “How to "git clone " in Visual studio code”
Today, I am following this video [this video] to learn how to use GitHub, but I using Windows. I've set it all successfully by also following the official instruction ( [LINK] ) and it works on Git Bash: [LINK] But I failed when I tried to "git clone" in Visual Studio Code, like what the video does [LINK] I've also tried setting the config because the video mentioned config (although the official instructions don't mention this, which means Windows users don't need to care about this. But this was what I tried to solve the problem, just in case this could make influence on my problem) [LINK] So, is there any requirement for the folder I select to open in VS code to do the git stuff or where is th
Cites Basil · 2022-09 · Stack Overflow · on “Git saves SSH in local project repository not in C:\Users\user-name/.ssh/id_rsa”
I added a ssh key. ssh-keygen -t rsa -b 4096 -C "my email" Generating public/private rsa key pair. Enter file in which to save the key (C:\Users\user-name/.ssh/id_rsa):testkey Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in testkey. Your public key has been saved in testkey.pub. I tried commands like ls -al ~/.ssh and cat ~/.ssh/id_rsa.pub to find it. Didn't help. Than i created a .ssh folder in my user directory using mkdir ${HOME}/.ssh and tied to create another SSH key. I did it in VS Code so it told me testkey already exists. Overwrite (y/n)? Then i decided to cat testkey.pub and it returned me a key. Than i checked my local