error: cannot lock ref ‘refs/remotes/origin/xxx’: there is a non-empty directory ‘.git/refs/remotes/origin/xxx’ blocking reference ‘refs/remotes/origin/xxx
This issue usually occurs when there are 2 branches with conflicting names. Suppose let us say you have a branch “QA” and when you have another branch with a name something like “qa/feature/test”, then...