Please follow below steps to configure webhooks in GitHub:
https://www.cidevops.com/2019/02/how-...
How to configure Webhooks in GitHub - Build after each commit - GitHub integration with Jenkins
How to configure WebHooks in GitHub ?
Webhooks are triggers that enables developers to trigger Jenkins jobs automatically every time there is a code change.