which files should I upload to my repository


I’m sure I don’t use git properly. As I’ve only worked on solo projects. What is the recommended folders to include when you push to your repository? Although I understand how Git and Composer work I feel like I don’t understand properly how to utilize them much as I do read around the topics

likely there is gitignore file in the root directory if not just lookup .gitignore yii2