How to reverse changes in git?
First, you'll need to find the ID of the revision you want to see. This assumes that you're developing on the default main branch. Once you're back in the main branch, you can use either git revert or git reset to undo any undesired changes.
How do I revert back changes in Gitlab?
In Revert in branch, select the branch to revert your changes into. Optional. Select Start a new merge request to start a new merge request with the new revert commit. Select Revert.