The daily commands.
WHAT TO KNOW FIRST
Checking the current state Seeing what has changed Staging changes Committing Viewing history
WHAT TO DO BEFORE EVERY COMMIT
Review what you are about to commit.
WHY
It catches debugging code, secrets and unintended changes.
WHAT TO DO BEFORE STARTING WORK
Fetch and integrate the latest changes.
WHY
It reduces conflicts, which grow with divergence.
WHAT BRANCHING OPERATIONS TO KNOW
Creating a branch Switching between branches Merging Deleting
WHAT TO KNOW FOR SHARING
Pushing to a remote Pulling from one Cloning
WHAT TO KNOW FOR INSPECTION
Viewing the history of a file Finding which commit introduced a line Searching history
WHY THAT SECOND ONE MATTERS
It answers why a line exists, by finding the change and its message.
WHAT TO LEARN EARLY
How to undo things, which is the commonest anxiety.