commit on git via command line code example Example: how to commit changes in git command git commit -a