Can cloudflare provider worker resource pull from a git repo

Hi, I am using cloudflare provider and I am trying to use the worker resource to pull from a git repo, not to have workers and TF code mixed in one repository or reside on the same machine. looks like the examplye only has file in it to get the content for the worker, but this is very limitingas since as far as i know file does not pull from git
here is the link for an example.

any help would be appreciatred!