Remove the checkout_branch from the git resource, as it is not used anymore
Make sure the cloned git repository is owned by the applicaton user and group
Add partial implementation of the application deployment

It still fails because the configuration files are not being installed yet.