remove all references to it (delete the branch, etc)
git reflog expire --expire=now --all
git gc --prune=now
more: [1]