git add all files in a folder code example
Example 1: add all files in directory to git
git add --all
git commit -am "<commit message>"
git push
Example 2: git add only text files from directory
$ git add Documentation/\*.txt
git add --all
git commit -am "<commit message>"
git push
$ git add Documentation/\*.txt