The fresh Magento installation brings a lot of files and folders to the table. When I measure, it takes like ~150MB. However, I don't think we need them all in VCS (i.e. git), because I can always gather them by composer.
I believe that we should only commit
composer.lock. But, I am not 100% sure.
Do you think that I would ever need to change other files for some reason? What is the best practice that the community follows on this topic? Which files do you submit to the VCS, and why?