Empty directories are ignored by git. By putting an empty .gitignore in the directory, the directory can be added to git.