When making a VM, do all downloading from within the VM.  Also install git before using it.