I had personal branch tmp-work
along with mainline
branch and wanted to do clean resynchronized of mainline branch in my local repository. After running the command
git fetch origin && git reset --hard origin/mainline && git clean -f -d
my tmp-work
branch is no longer there. It was not pushed to a remote repository. Is there any way to recover it on MacOS? I ran Mac data recover without success.