Select your PC environment:

Before we start on the tutorial, let's get our development environment up and running for Git. Choose your PC environment below and I will explain how we can start setting up Git.

If you are a developer and you're comfortable with a console interface, how about giving the console a try for Git?


TortoiseGit is an open-source Git client.

To proceed with the tutorial, you will have to install msysgit on your computer. You may download the installer from

First of all, download the TortoiseGit installer. Depending on your Windows OS, you will have to decide between the 32 bit or 64 bit version.

Download TortoiseGit

Start the installer by double clicking the downloaded installer file. In the next screen, click "Next".


Click "Next" again.

Click Next again.

Select “TortoisePLink” then click “Next”.

Click Next while selecting TortoisePLink.

Click "Next" again."

Leaving it as is, click “Next”.
Click on “Install”.
Click Install

Installation will now begin. In some cases, TortoiseGit will look for Windows user certification. If that happens, you will have to click "accept" to continue with the installation.

Installation begins

Once the installation is complete, click “Finish” to exit.

Installation is completed


On a Mac, you can use a Git client called SourceTree. It is created by Atlassian and is free to use.

Download and double-click on the .dmg file, and drag SourceTree into the Application folder.

We are now ready to start!

GUI client called SourceTree

Command Line

Download the Git installer from the Git website at

For Mac users, you can install Git with package management tools such as MacPorts and Homebrew.


After installation, go to Start menu > All programs > Git > Git Bash.


After installing, open Terminal which is located in Applications/Utilities.

Let's verify that Git has been successfully installed by doing a version check. The output string may differ depending on the installed environment or the version.

$ git --version git version (Apple Git-26)