Which all folders need to be committed in the git?

When we create an Ionic app, so many folders are created. But which all folders are mandatory to commit?

no need to commit below folders
node_modules,
platforms,
plugins

above folders automatically generated when we run npm and build.

Thanks for your help Srinivas. I used github for desktop and it automatically fetched the files to be committed with the .gitignore file, which got generated when I created new Ionic app. I didn’t know that there was .gitignore file by default.