Differences between Commit, Commit and Push, Commit and Sync
To add to camieblanch's answer. I found this helpful picture/post from tanascius (here). "Here is a nice picture from Oliver Steele, that explains the git model and the commands:"
- Commit will simply make record of your changes that you have made on your local machine. It will not mark the change in the remote repository.
- Commit and Push will do the above and push it to the remote repository. This means that any changes you have made will be saved to the remote repository as well.
- Commit and Sync does three things. First, it will commit. Second, it will perform a pull (grabs the updated information from the remote repo). Finally, it will push.
See more from Microsoft here