git config --global user.name "Your Name"
git config --global user.email "YourEmail@email.edu"
git config --global color.ui "auto"
git config --global core.editor "nano"
git config --global core.autocrlf input #Mac and linux
git config --global core.autocrlf true #windows
git config --global init.defaultBranch maingit initls -agit statusgit statusgit add mars.txtgit commit -m "starting to think about mars"git status
git add filename
git commit -m "commit message"git loggit statusgit diff mars.txtgit add mars.txtgit commit -m "concerns about Mars' moons"git diffgit diff --staged
git diff HEAD~1git diff HEAD~2git diff HEAD~3git diff 0b0d55eecho 'the mummy will like the dry air' > mars.txt
cat mars.txtgit checkout HEAD mars.txt