The general gitignore template will save you from pushing unnecessary files to git.
Resides in Ignore.txt
2. IDEs and text editors
3. Node.js and npm
4. Major JavaScript frameworks (React, Vue.js, Angular, Svelte, Next.js, Nuxt.js, Gatsby, Electron)
5. Major Languages
6. Environment files
7. Various build and dependency directories
8. OS-specific files
Add content from Ignore.txt file to ".git\info\exclude" File