297 questions
Thanks for posting your question in the Microsoft Q&A forum.
These articles help you to use git revert
https://dev.to/moustymainer/undoing-a-git-push-how-to-revert-changes-made-by-a-push-d5p
https://www.git-tower.com/learn/git/faq/restoring-deleted-files/
** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **