How to remove node_modules Create a .gitignore file Check for an existing .gitignore file in the project directory ls -a