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 main
git init
ls -a
git status
git status
git add mars.txt
git commit -m "starting to think about mars"
git status
git add filename
git commit -m "commit message"
git log
git status
git diff mars.txt
git add mars.txt
git commit -m "concerns about Mars' moons"
git diff
git diff --staged
git diff HEAD~1
git diff HEAD~2
git diff HEAD~3
git diff 0b0d55e
echo 'the mummy will like the dry air' > mars.txt
cat mars.txt
git checkout HEAD mars.txt