Git - Installing Git
Git - Installing Git
In order for you to be able to use Git on your local machine, you would
need to install it.
Depending on the operating system that you are using, you can follow
the steps here.
If this is not the case for you, you can install Git with the following
command:
On RHEL Linux:
If you are using Mac, Git should be available out of the box as well.
However, if this is not the case, there are 2 main ways of installing Git
on your Mac:
18
Using Homebrew: in case that you are using Homebrew, you can
open your terminal and run the following:
git-osx-installer
If you have a Windows PC, you can follow the steps on how to install Git
on Windows here:
During the installation, make sure to choose the Git Bash option, as this
would provide you with a Git Bash terminal which you will use while
following along.
Once you have installed Git, in order to check the version of Git that
you have installed on your machine, you could use the following
command:
git --version
Example output:
19
git version 2.25.1
20