To revert a commit in GitHub, follow these steps:
- Go to your repository on GitHub.
- Select the 'Pull requests' tab.
- Locate the pull request that you want to revert a commit.
- Click 'Revert'. This will create a new commit that undoes the changes made by the specific commit.