Configuring git
git config --global user.name "Full Name"
git config --global user.email name@usc.edu
git config --global core.editor nano
git config --global color.ui "auto"
Viewing your configuration
git config --global --list
Initializing a repo
git init {repo-name}
Checking the status of the repo
git status
Adding files
git add file.txt
Commiting files
git commit {file.txt} {-a} {-m "commit message"}
Examining the history
git log {...}
Examining changes
git diff
Making a new branch
git branch my_new_branch
git checkout my_new_branch
Merging a branch
git checkout master
git merge my_new_branch