Git Tutorial 02 – The basics

This video hits up the terminal and starts using git.

⚠️
This tutorial series was made in 2009. Back then Git was not as ubiquitous as today. Github had only been available for a few months, and Git was way harder to use. These days there are many other, better, more complete ways to learn git, and the tooling is so much better. These videos are included here for posterity.

This video hits up the terminal and starts using git. We start by creating a git repository, which is super easy with Git. Then, we look at adding files to the repository, and commiting changes.

In this video, I specifically create a project using git init.

If you are working on your own projects, this is how you will work. However, a lot of the time you will be starting work on an already existing project. In this case, you don’t create a new repo using git init, instead you clone an already existing repository.

git clone path/to/repository

I will cover this in a later video, but I think it is important enough to mention here.

Another thing that I could have covered in more detail is the staging area. There is actually a lot more that you can do with it than I mentioned in this video. However, that will come later. For the first 3 videos (at least) I want to just get the basics down.