The git commit allows us to record or store the change in the history so we can use it whenever we want.