Git: Recover deleted (remote) branch

I’m not an expert. But you can try

git fsck --full --no-reflogs | grep commit

to find the HEAD commit of deleted branch and get them back.

Leave a Comment