# How to Commit and Push <div style="position: relative; padding-bottom: 66.66666666666666%; height: 0;"><iframe src="https://www.loom.com/embed/eda0dd7af1cc4d3c87bd8b1a5e21fb40?sid=c09771c3-2e60-471f-a925-1b51e58cbdd2" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe></div> Here is a handy cheat sheet to control Git: Git has 3 main stages for saving your work ### Adding Files: `git add filename.md` ### Commiting those files `git commit -m"this is a commit message"` ### Pushing your commits `git push origin main` ## How to make a branch Do this before you start making changes and adding them to your commit: `git checkout -b add-branching-instructions`