You have to abort your rebasement git rebase --abort
If you already applied your rebasement do a reflog and get back to the commit hash git reflog git reset --hard HEAD@{n}
It should work, good luck