commands to see what's going on before you touch anything
stuff to run before you do anything — just to see what's going on.
git statusshows what's staged, what's modified, what's untracked. run this constantly.
git log --onelinecompact history. one commit per line. much less noisy than plain git log.
git log --oneline --graphsame but draws the branch tree. useful when you're trying to understand how branches relate.
git diffshows unstaged changes. if you've already staged something, use git diff --staged to see what's actually going in.
git show abc1234shows what a specific commit changed. swap abc1234 for any commit hash from git log --oneline.