to ignore all the node_modules
add follwowing in project's root .gitignore file.
**/node_modules
//brief
//There are two node_modules folders inside the frontend and backend folders and just
a single .gitignore file in the project’s root. To ignore both of the node_modules folders,
the content of the .gitignore folder must be: