Add .gitignore for empty directories.