Saving Changes

Commiting

Now that we have added files and staged it, its time for us to commit(save) the changes.
Try the git status command. You can see that they are requesting you to commit the changes.

Usage:
git commit -m "Your message"
This command is used for small messages for small changes. For example,
git commit -m "Added Text.txt file"

For bigger messages for bigger changes, use this command:
git commit -a
This will open up a text editor(there might be a delay sometimes) where you have to add the message. After typing your message, save the file and close it. You are done commiting.

Commit History

You can view your repository's commit history by using this command:
git log
It shows you all the commits you have done and the messages. To exit this mode press 'q'.