I had this issue, related to a branch. Following @fnagel’s similar approach, I just deleted the following folder, and it fixed the issue:
.git/refs/remotes/origin/<name of branch>
I had this issue, related to a branch. Following @fnagel’s similar approach, I just deleted the following folder, and it fixed the issue:
.git/refs/remotes/origin/<name of branch>