Deploy function to deploy a git branch