git add all fines code example
Example 1: git add
//to add a single file
git add <FILE_NAME>
//to add all changed files
git add -A
Example 2: git add only text files from directory
$ git add Documentation/\*.txt
//to add a single file
git add <FILE_NAME>
//to add all changed files
git add -A
$ git add Documentation/\*.txt