Mount files from Github repository while deploying service on Docker cloud

Hello,

We are new to Docker and were trying to implement the CI/CD pipeline using Docker cloud.
steps followed:

  1. created docker image and pushed it onto the docker hub.
  2. connected docker cloud with docker hub and Launched the required Image file.

Now, we want to start a few services using the launched docker image. We have our code checked-in at Github repository. Is there a way by which my service can access files from the github repository ?
In the ‘Volume’ section of the service, is there a way to access the files directly from the repo or we would have to download them to our node and then access ?

Any help/suggestions are appreciated.

Thank You.
Regards,
Aparna