How to undo a commit from github page?

Hi all, how are you?, II’ve recently by mistake made a commit to my repository from the github page and I uploaded a file to the repository that doesn’t belong to that project, how can I revert that change from the page to avoid having reflected that specific change in my local project?.

Thanks in advance for the help