Typically we don't track folders and files which are generated by commands eg node_mdoules or transpiled files etc.
Tracking only source files is sufficient to have all of them on a local machine, by running corresponding commands
We can have thus have only relevant changes in commits and maintain clean git history