1
00:00:00,523 --> 00:00:01,768
- [Instructor] Hi, and welcome back.

2
00:00:01,768 --> 00:00:03,588
In this section, we're
going to look at Git.

3
00:00:03,588 --> 00:00:06,966
And the first thing we
have to do is download Git.

4
00:00:06,966 --> 00:00:08,632
To download Git for Mac,

5
00:00:08,632 --> 00:00:13,261
just go to git-scm.com/download/mac,

6
00:00:13,261 --> 00:00:14,959
and that will begin the download,

7
00:00:14,959 --> 00:00:17,833
and you can instal it like
any other normal programme,

8
00:00:17,833 --> 00:00:22,073
and then it will be
accessible via your Terminal.

9
00:00:22,073 --> 00:00:26,201
There are also many
graphical interfaces for Git,

10
00:00:26,201 --> 00:00:27,228
and towards the end

11
00:00:27,228 --> 00:00:29,370
I will be recommending
one of them as well,

12
00:00:29,370 --> 00:00:32,035
but I think it's important
to start with the Terminal,

13
00:00:32,035 --> 00:00:36,806
so that we know how Git really
works behind the scenes.

14
00:00:36,806 --> 00:00:38,117
If you're on Windows,

15
00:00:38,117 --> 00:00:41,617
then go to git-for-windows.github.io,

16
00:00:42,705 --> 00:00:46,038
and download the Git Windows thing here.

17
00:00:47,668 --> 00:00:51,247
This provides a terminal
that lets you run Git,

18
00:00:51,247 --> 00:00:53,554
and also a number of other commands

19
00:00:53,554 --> 00:00:56,680
that are normally not present in Windows.

20
00:00:56,680 --> 00:00:58,204
So download that.

21
00:00:58,204 --> 00:00:59,467
And let's look at how you would

22
00:00:59,467 --> 00:01:02,300
download and instal this Git SCM.

23
00:01:03,272 --> 00:01:05,910
So I'm going to go over to my virtual box,

24
00:01:05,910 --> 00:01:08,470
and just to guide you through it.

25
00:01:08,470 --> 00:01:09,637
If you're using a Mac, by the way,

26
00:01:09,637 --> 00:01:11,500
you can just skip to the end.

27
00:01:11,500 --> 00:01:13,912
If you're using Windows,
you may want to stay.

28
00:01:13,912 --> 00:01:15,427
So launch Chrome,

29
00:01:15,427 --> 00:01:18,897
go to git-for-windows.github.io,

30
00:01:18,897 --> 00:01:20,397
and download that.

31
00:01:21,779 --> 00:01:23,807
And then that would
start the download there.

32
00:01:23,807 --> 00:01:26,474
I'm just going to speed through.

33
00:01:34,935 --> 00:01:38,518
Once that's done, just press it to instal.

34
00:01:42,267 --> 00:01:43,991
And then you can press Next.

35
00:01:43,991 --> 00:01:46,952
And here, this is an important thing,

36
00:01:46,952 --> 00:01:48,452
make sure to press

37
00:01:49,446 --> 00:01:53,529
this Associate .sh files
to be run with Bash.

38
00:01:54,775 --> 00:01:57,474
The other stuff, I would
also leave pressed,

39
00:01:57,474 --> 00:02:00,426
and you may even want to get
their icon on the desktop

40
00:02:00,426 --> 00:02:01,259
as well.

41
00:02:05,258 --> 00:02:09,142
And then I would leave the
first option pressed here,

42
00:02:09,142 --> 00:02:12,120
Use Git from Git Bash only.

43
00:02:12,120 --> 00:02:15,115
You can, if you want, use this one,

44
00:02:15,115 --> 00:02:17,388
Use Git from the Windows Command Prompt,

45
00:02:17,388 --> 00:02:19,426
but I would recommend the first one.

46
00:02:19,426 --> 00:02:21,028
If you use the second
one, then you can use

47
00:02:21,028 --> 00:02:24,511
the default Windows
Command Prompt to run Git,

48
00:02:24,511 --> 00:02:27,759
but the Windows Command
Prompt is lacking a few things

49
00:02:27,759 --> 00:02:30,310
that you would want from your terminal,

50
00:02:30,310 --> 00:02:32,077
so I would recommend always using

51
00:02:32,077 --> 00:02:33,976
the programme that this is installing,

52
00:02:33,976 --> 00:02:37,059
and leaving the option as number one.

53
00:02:38,391 --> 00:02:42,558
And finally, I would also leave
the first one pressed here.

54
00:02:47,746 --> 00:02:50,428
And I would also leave the
first one pressed here.

55
00:02:50,428 --> 00:02:54,799
This is just which sort
of console it's using.

56
00:02:54,799 --> 00:02:56,882
Leave that pressed there.

57
00:02:58,386 --> 00:03:00,955
And finally, these two you
can leave pressed if you want.

58
00:03:00,955 --> 00:03:01,788
They're not really going to make

59
00:03:01,788 --> 00:03:04,121
much of a difference for us.

60
00:03:15,340 --> 00:03:18,222
When that's done, you can
uncheck View Release Notes,

61
00:03:18,222 --> 00:03:20,389
and check Launch Git Bash.

62
00:03:21,540 --> 00:03:26,067
And that brings you to
this nice-looking terminal.

63
00:03:26,067 --> 00:03:30,648
It's trying to log in right
now as your Windows user.

64
00:03:30,648 --> 00:03:33,199
And my Windows computer is very slow.

65
00:03:33,199 --> 00:03:35,524
Yours will be a bit faster.

66
00:03:35,524 --> 00:03:36,569
And there you are.

67
00:03:36,569 --> 00:03:40,356
You have, essentially
what we've got on the Mac.

68
00:03:40,356 --> 00:03:42,707
Many of the things that we do on Mac

69
00:03:42,707 --> 00:03:44,632
work on this terminal,

70
00:03:44,632 --> 00:03:46,965
but they won't work on the

71
00:03:49,637 --> 00:03:51,536
Windows command line.

72
00:03:51,536 --> 00:03:53,652
So make sure to use this terminal

73
00:03:53,652 --> 00:03:57,587
whenever you are interacting with Git.

74
00:03:57,587 --> 00:03:58,420
And that's it.

75
00:03:58,420 --> 00:04:01,828
Now you can continue, and follow
the videos along as usual.

76
00:04:01,828 --> 00:04:04,275
And don't worry that we're
using Mac on the videos.

77
00:04:04,275 --> 00:04:08,515
All of the commands
work the same way here.

78
00:04:08,515 --> 00:04:09,456
So that's it.

79
00:04:09,456 --> 00:04:12,211
Thanks for watching, and I'll
see you on the next video.

