1
You have to use some third party tools which can do that
GitHub provides webhooks which can trigger when you commit something on a branch, which then can be used in tools like TeamCity or even in Azure to deploy your application.
GitHub also offers some tools in marketplace, see here:
https://github.com/marketplace/category/continuous-integration