All right, guys. 1
In this lesson, we'll go through the installation steps to install Git Bash and Git on Windows. 2
Mac already comes with Bash pre-installed, so if you're working on a Mac, you can skip this lesson 3
and head over straight to the next lesson. 4
Now, the first thing you're going to do is you're going to navigate to Git for Windows (gitforwindows.org) and you're going 5
to download the Git SCM. 6
Now, once that's downloaded, go ahead and open up the installer and select, 7
Yes. 8
And then you're going to agree to the license by clicking. 9
Next, select the location where you're going to install Git. On this next step where it asks you to 10
select which components should be installed, 11
make sure that this checkbox next to Git Bash is selected and is checked as Yes. 12
Now go ahead and leave the defaults for the rest and click Next and then leave the default Git as the 13
folder and click Next, and then keep clicking Next and going with the default selected options. 14
Select Next. 15
And next. 16
And Next. 17
And just basically keep selecting Next and keeping the default selections from the installer. 18
Now, once installation is completed, let's make sure that it works. 19
So let's open up VS Code and open up a terminal. And you can find that on the top menu. 20
Click Terminal. New Terminal. 21
And then in this new Terminal, click on that dropdown button next to the plus sign (+) and select Git Bash. 22
Now you should see something similar to this with a dollar sign ($) in the Terminal. 23
Now, in order to configure VS Code to make Git Bash your default shell, we have to go to the command 24
palette, and we can find that by going to View, Command Palette. 25
And then in the Command Palette, we're going to search for "Select Default Profile." 26
And once that comes up in the dropdown, select it and then select Git Bash. 27
And this is going to set it so that every time you open up a new terminal, we're working with Git Bash 28
as the selected terminal. 29
So let's try it out. 30
Let's click close down that terminal, select a new one and you can see Bash showing as the profile 31
for our terminal. 32
And there you have it. 33
That's all you need to do to set up Git Bash on Windows. 34
And in the next lesson, we're going to learn what the command line is all about, what Bash is all 35
about, and why it's useful. 36
So for all of that and we'll I'll see you there on the next lesson.