Git Tutorial for Beginners: Command-Line Fundamentals

Corey Schafer · 2.3M views · 2015 · 30:33

Open on YouTube

Testing, debugging & developer toolsSoftware practice, open source & careerstutorial

Why Stack Overflow recommends it

Stack Overflow users link it as a beginner-friendly Git walkthrough when askers are new to repositories, pushing to GitHub, or following along with courses like The Odin Project.

Recommended by 2 people across 2 different months, 2016 to 2020.

What it is

A 30-minute beginner tutorial by Corey Schafer on what Git is and how to use it from the command line, covering the basics of version control. It uses some diagrams from the Pro Git book and argues for learning the command line before GUI tools.

What people said

Recommends Solx85 · 2016-10 · Stack Overflow · on “i want to use github for my team what to do to connect other employee pc with my master branch for push pull same project data”

I found the basic tutorials on Youtube very enlightening, please see links below. They will take you through all the basic steps from setting up the repository through to pushing and pulling data from a hub. This link is specific to GitHub Multiple user accounts: [LINK] This one is a nice overview: [LINK] [LINK] [this video]

Recommends Sunnysinh Solanki · 2017-10 · Stack Overflow · on “Repository not visible on github.com”

It'll be on your local only(GIT) before publishing(GITHUB).Same will happen when you add any new files to your directories, you'll first add it to index(GIT),commit it(GIT) and then push it(to GITHUB). Well you can directly create new Repository from Github itself and then clone it to your local. This way is reverse of what you are currently doing. By default it creates readMe in that directory. Nice tutorial on YouTube for Git: [this video]

Cites leon · 2020-04 · Stack Overflow · on “How to edit gitignore file”

I started TheOdinProject on Ubuntu 18.4 and in the Git section it tells me to edit the .gitignore file. I already created it using touch .gitignore and it is showing up when i type ls -la but I don't see it in Files. In the video [this video] that is referenced the file is already open and there isn't an explanation on how to open it. How do I open the .gitignore file from Terminal in order to add something like .DS_Store in it?