Need to discard a committed file using GIT


I have committed a file to Git using Katalon. While pushing the committed file, I encountered some problem and not we discard the committed file.

If I do not discard the committed file, it is not allowing other files to be pushed.

Please suggest steps using which I can discard the unnecessary file from “Staged Changes” list.