deploy returns deployment result
added pre_deploy_git_commands