Installing Git

Git is a free and open source distributed version control system and use to managed the versioning of any text-based project.

Installing Git for Windows

Complete the following steps to install the latest version of Git on Windows:

  1. Go to https://git-scm.com/downloads/
  2. Download the software for Windows
  3. Install Git choosing all of the default settings

After the installation is complete, find and open Git Bash from the Windows Start menu, and type git --version. If a version number appears, Git has been successfully installed.

Before you can start using Git for the first time, you need to configure it. Run each of the following lines in the Git Bash. You will only need to do this once.

# sets up Git with your name
git config --global user.name "Your Name"

# sets up Git with your email (use your Algonquin Email)
git config --global user.email "youremailaddress@algonquinlive.com"

# makes sure that Git output is colored
git config --global color.ui auto

This video was created by Atlassian

Installing Git for macOS

Git is commonly installed on MacOS by default, but it is good idea to reinstall git, to ensure we are running the latest version.

  1. Go to https://git-scm.com/downloads
  2. Download the software for Mac
  3. Install Git choosing all the default options

Download Manually (macOS)

The Git download may not start automatically, so you may have to download manually by using the link provided

Git site with an arrow pointing to the manual download link

Security Block (macOS)

The Git Installation process may get block my macOS. If this happens you will need to open System Preferences go to Security & Privacy and under the General tab you will find a message that installer was block. Click the "Open Anyway" Button.

The Security Block message.

The macOS System Preference with arrow pointing to Security & Privacy

The macOS System Preference Security & Privacy with arrow pointing to message.

After the installation is complete, open the Terminal, it can be found in /Applications/Utilities/Terminal.app, and type git --version. If a version number appears, Git has been successfully installed.

Before you can start using Git for the first time, you need to configure it. Run each of the following lines in the Terminal. You will only need to do this once.

# sets up Git with your name
git config --global user.name "Your Name"

# sets up Git with your email (use your Algonquin Email)
git config --global user.email "youremailaddress@algonquinlive.com"

# makes sure that Git output is colored
git config --global color.ui auto

This video was created by Atlassian