πΏ Commits, branches and history
A commit is a saved snapshot with a message explaining the change. A branch is a separate line of commits, usually used for one feature or fix, so work in progress never disturbs the stable main branch.
A good commit message explains why, not just what the diff already shows.