how to add all files to git commit code example
Example 1: git add all files
git commit -a -m "msg"
Example 2: git add only text files from directory
$ git add Documentation/\*.txt
git commit -a -m "msg"
$ git add Documentation/\*.txt