1 00:00:00,540 --> 00:00:04,720 Like I mentioned in the previous stage, Git was created by Linus Torvalds, 2 00:00:04,720 --> 00:00:07,290 the inventor of the Linux operating system. 3 00:00:07,290 --> 00:00:11,990 Because of Linus' familiarity with the POSIX file system that Linux uses, 4 00:00:11,990 --> 00:00:15,580 Git has a lot of dependencies that aren't easily available to Windows. 5 00:00:15,580 --> 00:00:19,780 For a while it was very difficult to get Git up and running on a Windows machine. 6 00:00:19,780 --> 00:00:23,070 But I think it's safe to say that Git wouldn't have attained its current popularity 7 00:00:23,070 --> 00:00:25,800 if people hadn't been able to solve that problem. 8 00:00:25,800 --> 00:00:30,030 Fortunately for us, there's a simple installer available from the Git website. 9 00:00:30,030 --> 00:00:33,270 Let's walk through that installation and get you ready to follow along. 10 00:00:34,140 --> 00:00:38,830 At the time this video was recorded, this is what the official Git website looked like. 11 00:00:38,830 --> 00:00:43,370 It's located at git-scm.com. 12 00:00:43,370 --> 00:00:50,710 If anything looks different from my instructions here, be sure to check out the teacher's notes for this video for updated instructions. 13 00:00:50,710 --> 00:00:54,710 First, you can see that the website recognizes that we're on a Windows PC 14 00:00:54,710 --> 00:00:58,090 and directs us to the latest download for our system. 15 00:00:58,090 --> 00:01:00,810 Don't worry if you're getting a different version number here. 16 00:01:00,810 --> 00:01:04,459 All of the commands we're using in this lesson will work just the same. 17 00:01:04,459 --> 00:01:06,720 Let's click that button. 18 00:01:07,840 --> 00:01:10,850 This will download an installer package for us. 19 00:01:10,850 --> 00:01:13,460 Let's run that when it's finished downloading. 20 00:01:24,420 --> 00:01:28,310 We'll have to accept the license, choose an install destination— 21 00:01:28,310 --> 00:01:33,470 I'd recommend just leaving the default, but if you have any strong preferences, feel free to change it. 22 00:01:33,470 --> 00:01:35,970 This screen can be a little confusing. 23 00:01:35,970 --> 00:01:37,570 Let's leave it as is here. 24 00:01:37,570 --> 00:01:41,780 I'm also going to uncheck the Windows Explorer integration option 25 00:01:41,780 --> 00:01:43,900 just because we're not going to be using it, 26 00:01:43,900 --> 00:01:48,790 but feel free to leave that enabled or mess with any other options if you're comfortable. 27 00:01:52,160 --> 00:01:55,800 This option will determine where the Git commands are accessible from. 28 00:01:55,800 --> 00:02:01,840 I'd recommend using Git Bash only, unless you're aware of what the other options mean and have a preference. 29 00:02:01,840 --> 00:02:08,160 Without getting into too much detail, Windows and UNIX systems like Linux and Mac OS X 30 00:02:08,160 --> 00:02:11,580 have differing opinions about the way that files are formatted, 31 00:02:11,580 --> 00:02:16,300 and if you don't account for that, you can cause some major annoyances for your teammate. 32 00:02:16,300 --> 00:02:19,700 The first option here is the safest, so we'll go with that. 33 00:02:19,700 --> 00:02:23,880 Now the installer is going to do its thing. 34 00:02:25,860 --> 00:02:28,230 And here we go. All finished. 35 00:02:28,230 --> 00:02:31,020 We don't particularly need to see the release notes. 36 00:02:33,500 --> 00:02:35,990 This is what the Start menu looks like on Windows 8. 37 00:02:35,990 --> 00:02:40,680 If you have an older version of Windows, just open your Start menu and look for the Git folder. 38 00:02:40,680 --> 00:02:43,300 You'll note that we have 2 options here— 39 00:02:43,300 --> 00:02:46,520 Git GUI and Git Bash. 40 00:02:47,920 --> 00:02:51,130 Some people prefer to work in the GUI, which is fine, 41 00:02:51,130 --> 00:02:53,450 but we're going to focus on the command line for now, 42 00:02:53,450 --> 00:02:55,560 so we won't be using this tool. 43 00:02:55,560 --> 00:02:59,330 Definitely explore it later if it interests you, though. 44 00:03:01,660 --> 00:03:07,030 Git Bash, on the other hand, is a command line environment that emulates a UNIX system. 45 00:03:07,030 --> 00:03:11,090 This will enable you to use the Git command line interface. 46 00:03:11,090 --> 00:03:15,350 Try it out now by running git --version. 47 00:03:15,350 --> 00:03:19,160 This will also be compatible with almost every command that we run in our videos, 48 00:03:19,160 --> 00:03:22,380 including common UNIX commands like ls. 49 00:03:24,180 --> 00:03:29,490 There is, however, one important difference if you're planning to follow along in the videos. 50 00:03:29,490 --> 00:03:33,760 There will be some occasions where I edit files using the Nano text editor, 51 00:03:33,760 --> 00:03:37,140 and Nano will not be available on your system. 52 00:03:37,140 --> 00:03:42,090 Instead, I'd recommend using the ubiquitous Windows text editor Notepad. 53 00:03:42,090 --> 00:03:48,020 So every time I type nano followed by a filename, 54 00:03:48,020 --> 00:03:52,850 just type notepad followed by the filename, like so. 55 00:03:54,590 --> 00:03:57,620 And everything should be great. 56 00:04:00,280 --> 00:04:03,300 Hopefully your install went smoothly and everything is working. 57 00:04:03,300 --> 00:04:09,210 If not, be sure to post about your problem in the forums, and somebody should be able to help you get it taken care of.