Updated .gitignore rules to apply only to project root directory.