For a directory, you have to treat it just like a file by doing a git add [foldername]
git add [foldername]
Note: GitHub will IGNORE and not PUSH and empty directory in a repo.
How to track and push an empty REPO dir: Create a file called .gitkeep in that directory. Then it will always track the directory even if it's empty.
.gitkeep
There was an error while loading. Please reload this page.