These are my command i use more frequently whenever i am using git command.

I have installed git in my computer and whenever i use git for version control. i use these commands, these are my notes:

FILE 1 git-notes.txt
#############################################
https://www.udacity.com/wiki/ud775

https://training.github.com/kit/downloads/github-git-cheat-sheet.pdf

it init [project-name]

http://classic.scottr.org/presentations/git-in-5-minutes/

git init
git init newrepo
git add filename

# for a whole directory:
git init [directory name]
cd [directory name]
git add .

Committing a Version
git commit -m "Adding files"

to remove long names, do this

npm install -g rimraf (if you havent' install it yet)

rimraf

windows delete "The specified path, file name, or both are too long"

http://superuser.com/questions/78434/how-to-delete-directories-with-path-names-too-long-for-normal-delete

FILE 2 git-basic-commands.txt
#############################################
# LOCAL PROJECT
git init

git init newrepo

git add filename

git commit -a "Adding files"

# Repository
git clone --bare ~/your/repo/path project.git

Using git to get just the latest revision
git clone --depth=1 https://github.com/ampproject/amphtml.git