allow to select shallow clone or full clone on deploy