Fix git:branch bug when there is more than one branch with equal SHA-ID

This fixes badmatch error when we have more than one branch with equal sha-id. In such case, you tried to match one-element list ([B]) with list of branches (["branchA", "branchB"]). Now we just return list of branches, separated with "; ", ex. "branchA; branchB"
This function is supposed to return the same as "git branch". What does "git branch" return in the situation if HEAD has the same sha as multiple branches?