Git - which files to push when starting a new project?

I would like to ask experienced users which files/folders they store in GIT when working in Yii2. I believe that mainly folders: controllers, models, views + web are pushed. But what if someone checks the project out? How is it completed and executed? Or is it a good idea to push more files? What would you recommend?

PS: I want to push as few files as possible as the demo project has 7000 files and 75MB.

Add everything except:

  1. Data that changes or is user uploaded.
  2. Production configs.
  3. vendor directory.