git clone not working with git:// in virtualbox
<p>I have windows 7 as the host system and ubuntu 16.04 installed via the virtual box. In the Virtual box if I want to clone any git repository , it's not working with git://. To make this work I have used the git config option,</p>

<pre><code>git config --global url."https://".insteadOf git://
</code></pre>

<p>And started to access the repositories via https://.</p>

<pre><code>evk1206@evk1206-VirtualBox:~/Vinoth$ git clone git://git.yoctoproject.org/poky
Cloning into 'poky'...
fatal: repository 'https://git.yoctoproject.org/poky/' not found


evk1206@evk1206-VirtualBox:~/Vinoth$ git clone https://git.yoctoproject.org/git/poky
Cloning into 'poky'...
remote: Counting objects: 342925, done.
remote: Compressing objects: 100% (82825/82825), done.
</code></pre>

<p>Now I am working with the yocto project and trying to create a bsp layer. When I try to create a bsp layer I am seeing issues with respect to git repository connection.</p>

<pre><code>evk1206@evk1206-VirtualBox:~/Yocto/poky/build$ yocto-bsp create mib arm
Checking basic git connectivity...
Couldn't verify git connectivity, exiting

Details: couldn't access git://git.yoctoproject.org/linux-yocto-dev.git
         (this most likely indicates a network connectivity problem or
         a misconfigured git intallation)
evk1206@evk1206-VirtualBox:~/Yocto/poky/build$
</code></pre>

<p>Now I don't know how to solve this issue. Any information on this topic would be helpful </p>