What is the best way to version control Magento 2 store on Git?
How should I set up the repo/s to be flexible and reliable in a long run?
I use composer to install all third party modules (when that’s possible) so should I just VC the composer.lock
file and then VC the app directory with all custom modules and theme?
Should I have one repository containing the whole store as it stands?
Or should I version control every single module on its own repository?
Any suggestions? I want to set that up right from the beginning.