Up and Running with Git Transcripts
Chapter: Introducing Git
Lecture: Installing git

Login or purchase this course to watch this video and the rest of the course contents.
0:00 Would it surprise you to know that you have to install Git to do interesting things
0:04 in our git course. Well you do.
0:08 So how do you do that?
0:09 How do you get git now?
0:12 You might already have it. A lot of systems come with it installed.
0:16 If you install other tools, visual studio or something maybe that also installed git.
0:21 And you didn't realize it if you run X code on Mac and it asked for
0:27 the command line tools that might bring git with it.
0:30 So go to your terminal and just type git and hit enter and see
0:35 what happens. Does it give you a warning that as an unknown command or did
0:39 something happen? But you also want to make sure that you have a relatively new
0:43 version of git so if you don't have git or if you check,
0:47 say here at the time of recording 235.1 is the latest.
0:52 If you're significantly older than that,
0:54 you want to update your git how do you do that?
0:56 So you can come over here to git official homepage,
1:01 git-scm.com, that's source control management and go to the downloads page
1:07 and download the installer and run it.
1:09 That should absolutely do it. One of the disadvantages of using this way is that
1:14 it doesn't auto update itself or there's not a great mechanism for updating itself over time
1:20 personally, I like to use the package managers to get git on my systems because
1:24 then when I just say package manager update all the things I get the brand new
1:28 Git it's a lot of git so on MacOS.
1:32 I used Homebrew and with Homebrew I installed it that way on Windows.
1:37 I use the Chocolatey package manager system.
1:41 There's also I think Win git,
1:42 but I don't use that. I've only used chocolatey and on Linux there's usually something
1:47 built in a package manager, for example,
1:49 on Ubuntu, you have apt and so on.
1:52 You can just say apt install,
1:54 git apt upgrade git. So I recommend if you're feeling adventurous to use one
2:01 of the package managers again, Homebrew Chocolatey or the built in Linux package manager.
2:07 If you just don't want to mess with it and you want to just work downloaded
2:10 here and install it. That should be good for now.