Git Tutorial

This tutorial explains how to import a new project into Git, make changes to it, and share changes with other developers.

First, note that you can get documentation for a command such as git log –graph with:

$ man git-log

or:

$ git help log

With the latter, you can use the manual viewer of your choice; see git-help for more information.

It is a good idea to introduce yourself to Git with your name and public email address before doing any operation. The easiest way to do so is:

$ git config --global user.name "Your Name Comes Here"$ git config --global user.email you@yourdomain.example.com