So there are few files in the repository. They are on main. What is the difference between putting a new file also on main or on a new branch?
CodePudding user response:
Branches are mainly used if multiple people are working on a project or to separate between the software you are in the middle of developing and production software. You need to decide on exactly how to structure your project. If this is a small project that you are working on by yourself, working just with main could be enough. If it is a bigger project you could conside using the gitflow workflow. See here