Git ignore for ionic project

I’m somewhat new applications with ionic and very new to the subject of the repositories, when I do a commit endless files are uploaded that I find it very difficult to identify what are the changes in the project, that’s why I wanted ask for help here, if I can guide you ignore files, if a file exists by default to occupy and where, since most of the work is done in the www folder. Sorry if the question is very basic but I would serve far solve this problem.