frankd
11/24/2017 - 4:48 PM

GIT GUIDE

📚 An introduction Guide to Git

This is an introduction guide to the Git Version Control System.

Getting Started

Install & config Git

Install Git with Homebrew

Open your terminal and install Git using Homebrew:

$ brew install git

Verify that the installation was successful by typing which git --version:

$ git --version
git version 2.9.2

Git Config

Config your new Git credentials

Configure your Git username and email using the following commands: (These details will be associated with any commits that you create)

$ git config -—global user.name “Name Lastname”
$ git config —-global user.email “our_email@example.com”

Check your new Git config

$ git config --list

user.name=Name Lastname

user.email=your_email@example.com