Modified .gitignore file to include directories.