I give this error when I use
git log
fatal: your current branch appears to be broken
my branch file was broked I opened .git/refs/heads/mybranch in notepad but I see only some ????????? in file
I know I must find branch hash and copy that into .git/refs/heads/mybranch file but I don't how to find that hash
I read this topic Broken branch in git, fatal: your current branch appears to be broken