The “git commit” command is used to save your changes to local repository.
For commiting changes we need to provide a message with git commit with -m flag. Example
git commit -m "your message"
Now if we will do git status it will show us that there is nothing to commit