commit command syntax git
To commit entire project folder
$ git add .
To commit based on file extension
$ git add *.html
$ git add *.java
$ git add *.txt
To commit multiple files
$git add help.txt error.jsp
Commit command
$ git commit -m 'write descriptive comment here'
Check the commit log
$ git log