Git Commit
A commit is a saved snapshot of your project. It stores the staged changes, a message, the author, the date and a unique hash.
Commits are the history of your repository: you can look at them, compare them and go back to them at any time.
Commit the staged files
git commit -m "First release of Hello World!"
[main (root-commit) f50d2ba] First release of Hello World!
2 files changed, 13 insertions(+)
create mode 100644 bluestyle.css
create mode 100644 index.html
Stage and commit in one step
-a stages all changes to files Git already tracks, then commits them:
git commit -a -m "Added image to Hello World"
[hello-world-images 6a68478] Added image to Hello World
1 file changed, 1 insertion(+)