git commit -m 'Initial commit'
Adds all the modified and deleted files to staging area and then saves changes to local repository with messagegit commit -a -m 'Initial commit' / git commit -am 'Initial commit'
Makes changes to the last commit, adds some files or edits commit messagegit commit --amend -m 'Initial commit'