deploy a release from a git repository to a directory