In this movie, we are going to learn how to install Git on Linux.
The first thing you need to know is where to find Git.
The main Git web site is going to be at http://git-scm.com, SCM stands for
Source Code Manager, and this web site is going to have everything you need to
know about Git, including links to information about how to download.
For Linux, that link is going to be git-scm.com/download/linux. Let's take a look.
So here I am on the Download Linux page and unlike the Mac and Windows
versions where you actually download an installer or a package to install on
your operating system.
With Linux, they break it up by distribution and tell you what package
manager you ought to use.
So if you are using Debian/Ubuntu, you should use apt-get, if you are using
Fedora, you should use yum, and so on, and it has a list of all the distributions
and the different package managers you can use to install it.
If your package manager asks you to make any choices, they will just want to
pick the default settings for everything.
After the package manager finishes running, you should have Git installed.
You can make sure of that my typing which git, which should return the location
of how to find Git and git --version, which will port the current version of Git.
Don't be concerned if your version is different than mine.
Now that you have Git installed, you can follow right along with me in what I do
on the Mac because Mac OS X has Unix under the hood.
So everything that I do from the command line is actually Unix, so it will work
exactly the same as what you have in Linux.