VS Code has 5000 files that need to be commit

Okay, so problem-- I thought I fixed it but I didn’t. How exactly do I create a .gitignore file and add node_modules/ inside it?

Thank you,
-Silas