how to add all the files in the current directory for git 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 .
git add <file> or you can do git add -A to add all files