Deployment of applications can take place in two ways. The applications can be deployed directly from the application builder or the application catalog and it can be deployed directly from the GitHub. During the direct deployment from the application builder a secure and authenticated channel is established with the runtime. The application is archived as a single file and is transported over the secure HTTP. The runtime decompresses the archive and bootstraps the application which also includes the setting up of databases and data sources.
In the second case, Runtime is instructed to pull the applications directly from the GitHub. The branch name is specified during the instructions along with the repository secrets. Runtime git clones the branch in its repo directory. Subsequently, it bootstraps the application the same way as described above.