git how to add directory with files code example Example: add all files in directory to git git add --all git commit -am "<commit message>" git push