View the status of your staging area
$ git statusAdd one file to staging area
$ git add myfile.pyAdd multiple files to staging area
$ git add .Commit all staged files
$ git commitCommit all modified unstaged files
$ git commit -aView all remote branches
$ git branch -rGet all remote branches
$ git pullCheckout an existing remote branch
$ git checkout githubBranchCreate a new local branch
$ git checkout -b myNewLocalbranchPush a newly created local branch to remote
$ git push -u origin myNewLocalBranchPush to remote when local branch and remote branch exist and have the same name
$ git pushIncorporate all changes that are in the remote tracking branch into your local branch
$ git pullView history of all commits
$ git logReset your working directory to a pristine state (Note this will wipe out any changes you made)
$ git reset HEAD --hard