I'm not familiar with gitLab, there might be an easy solution on the ui.
However you can definitely use git revert <hash-of-unwanted-commit>
from the command line
I would create a new branch, use git revert in the new branch, check weather it did what you wanted, and merge