force add folder to staging area git 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