I have started using git, read few tutorials, but I still don't know what is a proper way to use it? Where should I init my repository?
Let's say I have following project
Let's say I'm currently working on module_a, should each feature(controller+model) have own branch?
Or maybe I should init repository in my_project and each module (module_a and module_b) should have their own branch?
All these possibilities get me confused
init in my_project and change module_a and module_b in separate branches, and keep pushing to master/develop.
Check this for branching model.
Initialize the repository in my_project folder. Make separate branches for module_a and module_b