git ignore node_modules is a good practice code example
Example: git ignore node_modules
If you add the below text into your .gitignore file,
then it will look for the node_modules directory. Then the node_modules
directory will be ignored.
node_modules/