Windows
Create the tutorial directory anywhere on your computer. Right-click and then click "Git Create repository here" to have that directory tracked by Git.



Mac
Create the tutorial directory anywhere on your machine. After that, run SourceTree. Click "Add Repository" located on the top left of the bookmarks list window. Alternatively you can choose File > New from the menu bar.


Command Line
Create the tutorial directory anywhere on your computer. Access the directory and use the "init" command to turn that directory into a local Git repository.
$ git init
Follow the steps below to turn the new tutorial directory into a Git
repository.
$ mkdir tutorial
$ cd tutorial
$ git init
Initialized empty Git repository in /Users/yourname/Desktop/tutorial/.git/