Guide for installing Git SCM¶
-
Go to: https://git-scm.com/
-
Download and install:
A. For PC: - Run the installer and go through the installation wizard. -
B. For Mac: - Make sure you have Homebrew installed
-
Open launcher and search “terminal”:
-
In the terminal then type run
brew install git
:
-
-
Launch the command prompt (PC) or stay inside the terminal (Mac) and run
git --version
to test the installation:- If it is working, move to step 4
- If it is not working, send an email or post on the GitHub discussion board.
-
Set our identity to our GitHub username for Git by running:
git config --global user.name "YOUR_GITHUB_USERNAME"
- Remember to change
"YOUR_GITHUB_USERNAME"
to your actual GitHub Username and include the double quotes" "
- Remember to change
-
Now set your email to the email you signed up with GitHub by running :
git config --global user.email YOUR@EMAIL.COM
- Remember to change
YOUR@EMAIL.COM
to your actual GitHub email
- Remember to change
-
Once finished, run the following to check your email and username:
git config --list
-
If you had any issues, please check this documentation for more details or reach out for help.
-
Now you are ready to clone a repository!