Implement function to switch using protocol when install.
Change protocolo wrapper to non-destructive
Apply --depth 1 option when clone.