WEBVTT

1
00:00:00.750 --> 00:00:04.920
<v Tutor>So how can you use GitHub Copilot?</v>

2
00:00:04.920 --> 00:00:09.920
Well, you can of course visit GitHub.com/features/Copilot,

3
00:00:10.080 --> 00:00:12.630
the official website of GitHub Copilot.

4
00:00:12.630 --> 00:00:16.020
And there you don't just find a button that gets you started

5
00:00:16.020 --> 00:00:18.930
and provides you more instructions.

6
00:00:18.930 --> 00:00:23.910
You'll also find this plans and pricing button or link,

7
00:00:23.910 --> 00:00:25.350
because it's worth noting

8
00:00:25.350 --> 00:00:28.260
that you can use GitHub Copilot for free.

9
00:00:28.260 --> 00:00:31.140
You can get started with it for free.

10
00:00:31.140 --> 00:00:35.010
Now, there are certain limitations, certain limits,

11
00:00:35.010 --> 00:00:37.470
and you'll have to pay if you exceed those limits,

12
00:00:37.470 --> 00:00:40.440
or you'll have to sign up for a paid plan

13
00:00:40.440 --> 00:00:41.700
if you exceed those limits,

14
00:00:41.700 --> 00:00:44.400
you'll not be charged automatically.

15
00:00:44.400 --> 00:00:47.250
But those limits are actually pretty generous

16
00:00:47.250 --> 00:00:49.560
and should already get you pretty far.

17
00:00:49.560 --> 00:00:52.350
And if you find yourself exceeding those limits,

18
00:00:52.350 --> 00:00:55.560
it's probably worth upgrading to the next plan,

19
00:00:55.560 --> 00:00:58.440
the Pro plan, for example anyways,

20
00:00:58.440 --> 00:01:00.510
and there also are other plans,

21
00:01:00.510 --> 00:01:03.240
and on this page you also find a detailed comparison

22
00:01:03.240 --> 00:01:04.470
of the different features

23
00:01:04.470 --> 00:01:06.720
that are available in the different plans,

24
00:01:06.720 --> 00:01:10.860
but the free plan should be pretty good for getting started

25
00:01:10.860 --> 00:01:13.110
with GitHub Copilot.

26
00:01:13.110 --> 00:01:15.270
On this page, you'll also find a list

27
00:01:15.270 --> 00:01:19.500
of all the code editors and IDs where you can install

28
00:01:19.500 --> 00:01:20.730
GitHub Copilot.

29
00:01:20.730 --> 00:01:23.970
Though the best integration probably exists

30
00:01:23.970 --> 00:01:26.670
for Visual Studio Code, since as mentioned,

31
00:01:26.670 --> 00:01:30.093
GitHub Copilot is by the same team in the end.

32
00:01:31.110 --> 00:01:33.480
And speaking of Visual Studio Code

33
00:01:33.480 --> 00:01:37.770
and integrating GitHub Copilot, how do you do that?

34
00:01:37.770 --> 00:01:40.530
Well, of course you should have Visual Studio

35
00:01:40.530 --> 00:01:41.940
Code installed.

36
00:01:41.940 --> 00:01:43.740
You can download it for free

37
00:01:43.740 --> 00:01:48.690
for all operating systems from code.visualstudio.com.

38
00:01:48.690 --> 00:01:51.960
And there you'll also find instructions

39
00:01:51.960 --> 00:01:54.510
on how to install GitHub Copilot

40
00:01:54.510 --> 00:01:58.350
or get started with the free version of GitHub Copilot.

41
00:01:58.350 --> 00:02:02.430
And attached you'll find a link to that documentation page,

42
00:02:02.430 --> 00:02:05.460
which guides you through the setup of GitHub Copilot

43
00:02:05.460 --> 00:02:09.000
in VS Code, though it's really straightforward

44
00:02:09.000 --> 00:02:12.930
because in VS Code, you should have this GitHub Copilot

45
00:02:12.930 --> 00:02:15.240
button here in the top bar.

46
00:02:15.240 --> 00:02:17.220
And if you can't see this, you should be able

47
00:02:17.220 --> 00:02:19.050
to open the command center

48
00:02:19.050 --> 00:02:22.650
or command palette as it's also called also by going

49
00:02:22.650 --> 00:02:24.630
to view command palette.

50
00:02:24.630 --> 00:02:29.550
And then in there enter, "Use AI features with Copilot

51
00:02:29.550 --> 00:02:32.970
for free" or just, "Copilot."

52
00:02:32.970 --> 00:02:36.600
And you'll find various Copilot related options there,

53
00:02:36.600 --> 00:02:40.440
depending on whether you used Copilot before or not.

54
00:02:40.440 --> 00:02:42.060
But if you click this icon here

55
00:02:42.060 --> 00:02:45.780
or use this, use AI features with Copilot

56
00:02:45.780 --> 00:02:50.490
for free command here, a GitHub Copilot window should open.

57
00:02:50.490 --> 00:02:53.580
And of course the look of that window might also change

58
00:02:53.580 --> 00:02:56.220
over time, but in there you should have a use

59
00:02:56.220 --> 00:02:58.650
Copilot button or some install button,

60
00:02:58.650 --> 00:03:01.320
and if you press that, it'll automatically download

61
00:03:01.320 --> 00:03:04.440
and install all required Copilot extensions

62
00:03:04.440 --> 00:03:06.600
and get you started with it.

63
00:03:06.600 --> 00:03:09.810
Now, you will have to sign into GitHub,

64
00:03:09.810 --> 00:03:12.210
into your GitHub account before you can use it though

65
00:03:12.210 --> 00:03:14.340
so you do need such a GitHub account.

66
00:03:14.340 --> 00:03:16.380
You can of course create one if you don't have one.

67
00:03:16.380 --> 00:03:19.050
It is also free, but you will need to sign in

68
00:03:19.050 --> 00:03:22.650
in order to install and use GitHub Copilot.

69
00:03:22.650 --> 00:03:24.420
But then once you have that account

70
00:03:24.420 --> 00:03:25.710
and once you are signed in,

71
00:03:25.710 --> 00:03:28.380
everything will be downloaded for you.

72
00:03:28.380 --> 00:03:33.210
Alternatively, you could also go to the extensions menu here

73
00:03:33.210 --> 00:03:36.000
and search for GitHub Copilot in there.

74
00:03:36.000 --> 00:03:40.260
And this will find you various GitHub Copilot extensions,

75
00:03:40.260 --> 00:03:43.500
which you can also install manually if you want to.

76
00:03:43.500 --> 00:03:46.110
But these are the extensions that have been installed

77
00:03:46.110 --> 00:03:49.050
for you with help of that button we just clicked.

78
00:03:49.050 --> 00:03:52.170
It's the GitHub Copilot and GitHub Copilot chat extension

79
00:03:52.170 --> 00:03:54.470
at the point of time where I'm recording this.

80
00:03:55.410 --> 00:03:57.840
Well, and with that, with that installed,

81
00:03:57.840 --> 00:04:00.900
you are finally set and ready to go.

82
00:04:00.900 --> 00:04:03.510
Now this button up here, which we used

83
00:04:03.510 --> 00:04:06.450
for installing it also allows you to access

84
00:04:06.450 --> 00:04:08.550
some of those Copilot features.

85
00:04:08.550 --> 00:04:11.730
It also allows you to configure GitHub Copilot

86
00:04:11.730 --> 00:04:13.920
or the way it completes your code

87
00:04:13.920 --> 00:04:16.110
and in general manage its behavior.

88
00:04:16.110 --> 00:04:18.750
But we'll get back to those settings a little bit later.

89
00:04:18.750 --> 00:04:20.130
For now, let's get started

90
00:04:20.130 --> 00:04:22.773
and let's write some code with GitHub Copilot.

