Remove from git tracking ( -r when removal is recursive i.e. a folder)
git rm --cached node_modules -r