git add only one file from subdirectories code example Example: add all files in directory to git git add --all git commit -am "<commit message>" git push