Check what changed, stage what you want to save, commit it. Repeat.
git status # what changed? git diff # show the exact changes git add . # stage everything git commit -m "Describe the change"