I recently had to perform a hard reboot and I am now receiving an error in git when I try to access a specific branch (this does not happen when accessing other branches):
I finally found out how to answer this question...
Simply go into the folder .git and delete refs/heads/BadBranch
.git
refs/heads/BadBranch
This allows the rest of the branches to work as they normally should, while only losing information from the corrupted branch.
branch