I am starting the development of a new custom theme for Magento 2.1.x. I would like to commit on my git repository only the files related to the theme and to the custom module which I will create for this theme, not the entire Magento project.
This because at certain point a colleague of mine will install a new copy of Magento 2.1.X locally in his machine and pulling from our shared git repo.He will also contribute to the development of the theme.
The .gitignore file shipped with Magento CE 2.1.X works for the purpose I just described or do I need to add some other directories/files to the .gitignore?
Please suggest for using Git.