You can revert (or you can also call it delete) the Git Commit both locally and remotely if you follow the steps as given below via the Git command line.
Run the following command to see the commit id that you want to revert
git log --oneline --decorate --graph
You will get like a following screenshot

If you also check remote (via Web Interface) then you can see that this would be same as shown below

As per screenshot currently you are on commit id e110322. However, you want to revert back to 030bbf6 both LOCALLY and remotely.
Perform the following steps to DELETE/REVERT Commits Locally+Remotely
First locally, reverting to commit id 030bbf6
git reset --hard 030bbf6
Followed by
git clean -f -d
These two commands clean force reset to commit stage 030bbf6 as shown below in snapshot

Now if you run git status, then you'll see that you are TWO Commits BEHIND from the remote branch as shown below

Run following to update your indexes (if there are any updates). It is recommended that you ask all developers not to accept any pull requests on main remote branch.
git fetch --all
Once you are done with it then you are required to Push this commit forcefully by using + symbol in-front of branch as shown below. I have used here as master branch, you can replace it with any

Code
git push -u origin +master
Now if you see the web interface of remote then commit there should be reverted as well.
