Hi guys : Im not particularly excited about git branches, but my organization uses them heavily. In any case, I need to work on a branch of head. In the past I have "switched" branches while developing in a single place, however, I feel like this gets confusing.
Is it common/idiomatic in git to simply have two separate git directories, one for a branch1, and another for branch2 ?
Or
Is it more common to have a single working directory, switching between branches in that directory .
Also, im curious about the benefits/drawbacks of these two approaches. If either is completely ridiculous, please let me know as well - im somewhat new to git.