Terraform code to Connect GitHub and Azure

I am writing a terraform code for git auto deployment in azure for linux os_type. If I make any changes in git it needs to be reflected in azure. I need purely a terraform code for this process and any steps involved in Git.

Thanks in advance