Question: what is the difference between git commit and push?
Answer: Well, basically git commit puts your changes into your local repo, while git push sends your changes to the remote location. git push is used to add commits you have done on the local repository to a remote one - together with git pull , it allows people to collaborate.