If you give the following command you'll get the list of activities including commits, merges.
git reflog
Your last commit should probably be at 'HEAD@{0}'
. You can check the same with your commit message.
To go to that point, use the command
git reset --hard 'HEAD@{0}'
Your merge will be reverted. If in case you have new files left, discard those changes from the merge.