we are using the Magento default
.gitignore for development.
(b.t.w. a similar version can be found here, but I would recommend the original from Magento: https://www.gitignore.io/api/magento2)
Question: why is the gitignore ignoring
vendor/* files that may be installed and containing new/used extensions?
(we found out after installing an extension and wishing to commit the new code)