Help in communicating eventsource with github webhooks

Was trying to create an eventsource that is will trigger events based on push requests from a certain github repository. How should I go on about creating its URL?