Git

git clone - creates a local copy of a remote

gir remove -v - lists a git project's remote

git fetch - fetches work from the remote ino the local copy

git merge origin/master branch_name - merges origin/master into your local branch

git push origin 

git init - creates new git repository

git status - inspects the contents of the working directory and staging area

git add - adds files from working directory to the staging area

git diff - shows the difference between the working directory and the staging area

git commit -permanently stores file changes from the staging area in the repository

git log - shows a list of all previous commit

BACKTRACKING

git checkout HEAD filename - discard changes in the working area

git reset HEAD filename -unstages file changes in the staging area

git reset SHA - can be used to reset to a previous commit in your commit history( git log) - SHA is first 7 letters in SHA code

git branch - list all of git project branches

git branch branch_name - creates a new branch

git checkout branch_name - used to switch from one branch to another

git merge branch_name - used to join file changes from one branch to another

git branch -d branch_name- deletes the branch specified.