move to your current branch
then fire rest comment like below
commit id from you want to revert changes.
b6789988d5d043d47569 your commit1
b6789988d5d043d4756 your commit2
b6789988d5d0b6789988d5d043d47 your commit3
b6789988d5d043d47 changes removed from hare
git reset --hard b6789988d5d043d47
then push your reset changes
git push -f origin branchname
https://gitcheatsheet.org/?gclid=Cj0KCQjwwNWKBhDAARIsAJ8Hkhdlxai30BVPljj5WDd9xd6uFTe7HIr406NPx7WvT7WCvSWfEeF3R6EaAmxJEALw_wcB