1. Go to "Server Settings/Integrations" panel on your Discord server.
2. Press "Webhooks", then press "New Webhook". Copy the Webhook URL.
3. Go to your Github's repo settings. Open Webhooks panel.
4. Paste the Webhook URL from Discord. Add "/github" and the end of the string.
5. Done! Now you can receive notifications on Discord from your Github repo.