Add a .gitignore file in subdirectory and modify the .gitignore