Create an empty git repo
git init
Clone repo located at onto a local machine.
Original repo can be located on the local filesystem or on a remote machine via HTTP or SSH
git clone
Define author name to be used for all commits in current repo
git config
user.name
Stage all changes in for the next commit.
Replace with a to change a specific file
git add
Commit the staged snapshot, but instead of launching a text editor use as the commit message
git commit -m
“”
List which files are staged, unstaged, and untracked
git status
Display the entire commit history using the default format
git log
Show unstaged changes between your index and working directory
git diff