Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
In this movie we're going to learn how to install Git on Mac OS X. Now this is not just for any particular version of Mac OS X, this is for all versions of Mac OS X. The same process should work. So the first thing we need to know is where to find Git, and that's on the main Git web site. The URL for that's http://git-scm.com--the scm, remember stands for source code management. Now we're going to go to that URL in just a moment, but there's one other URL I want to give you, which is the direct URL to the Mac download.
So it's the same URL we just had follow by /download/mac, and that'll take you directly there. Let's go over to Firefox and take a look. So here I'm on the main Git web site you see git-scm.com up here, and it detected the fact that I'm coming from a Mac and offers to take me directly to the Mac download. I'm going to ignore that for now. It would be a shortcut for me, instead I'm just going to show you that here's a link for all the downloads, and then that takes you to a page here where I can pick the operating system that I want.
And of course, I want Mac OS X so that takes me directly where shortcut would've gone. As soon as I go there, it starts downloading the file, see it says, your download is starting up here, and it starts downloading it and my browser is asking me, what would you like to do with this file? Do you want me it to download and save it? Before I do say yes, I just want to show you that I have already configured Firefox to download my files onto my Desktop. You may have yours configured to download somewhere else, like a downloads folder. That's fine, just make sure that you can locate it once we've downloaded it. So now I'm going to say Save File, and there it is it's going to finish the download in this progress window here and then here's the file sitting on my Desktop.
So now we're done with Firefox, we can hide that and what we want to do is just open up this disc image, and this is pretty much like any Macintosh install that you've done before. We're going to open this package, and then it'll guide us through the steps to install it. Do you want to install for all user users of this computer? And yes we do. Now it's going to say install one more time, it's going to want our main installation Password for installing software, so we'll type that in, and now it's going to install it for us. Installation installed, voila.
Now there's one more thing that we want to do, which is that there's also this uninstall.sh script here, it's a shell script that will uninstall Git for you. So if you need to uninstall Git, this is the script that'll help you do it and the README file should give you more information about how to do that. So now what we want to do is we want to open up the terminal application that's the Command Line tool on the Mac. And the way that we'll find out is we will go into the Applications folder and in Utilities, down here at the bottom, if we open that up, one of the very last ones will see in alphabetical order is Terminal. Now we're going to using this a lot.
So I am actually going to just drag it down here to my doc so that I have it. And then I'll go ahead and launch it as well. Let's just close this window behind it. Now yours probably looks different than mine. That's because I've adjusted the preferences in Terminal and in Preferences under Settings here you can change the look of yours. So I've changed the look to have a dark black background with yellow text, I think that's going to be easier for you to see. Yours is probably white, by default. That's fine there's nothing wrong with leaving it that way or you can go in and change the colors around until you get something that you like.
Now to find out if we've Git installed, there's two ways we can do it, we can say which git, and that will tell us if Git exists, it'll tell us the path to get there so did find it and then if we say git --version, it comes up and tells us which version of git we have installed. So we know that it can find it, and we can see what version it is. So that's it, we now have Git installed, and we're ready to move on to the video where we talk about configuring it.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 98552 Viewers
61 Video lessons · 85838 Viewers
71 Video lessons · 69736 Viewers
56 Video lessons · 102043 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.