I am brand new with Magento 2 and I've been thinking about version control (git specifically) in M2. We know that installing modules is a critical thing in Magento. So, I would like to know if there is pattern of version control for Magento 2. If not, I would like to know about your workflow. Thanks!

1 Answer 1


Magento 2 doesn't require any special version control method, all the changes from M1 to M2 should take place during the deployment process (the vendor/ folder specifically).

My personal favorite and what we try to emulate at my workplace is Git Flow.

  • Ok, when you are working alone, git works very well. For instance, if I am working with another member, I Install an extension and push to remote. The other member does not receive the changes and/or his installation breaks, I think this is because the database is not the same, and the extension makes changes in database. How do you deal with extension installations, working with a team? Dec 5, 2017 at 12:07
  • It's important that all team members agree and adhere to the Git Flow process. Only push/merge changes that are tested locally. It will be the other team members' responsibility to ensure their branch is brought up to speed. Dec 5, 2017 at 15:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.