I started a new Magento 2 project and i always keep my projects in bitbucket... When i added the files to push i got like 200Mb of files is it really necessary to keep a Magento 2 project in a repository?
I am using this .gitignore file
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
There are also build and production system setup documented for pipeline deployment that are to include additional folders in source control.
The Development System Setup documentation lays out the recommendation for "for anyone with a large site who does not want downtime during deployment" There is also "a single machine and can tolerate some downtime during deployment, see Single-machine deployment"