Fatal - Repository not valid - is this a git repository

This error can be due to your git version being out of date:

Cloning into 'mycompany_msm8974-la-2-0_amss_oem_standard'...
fatal: https://git.chipcode.qti.qualcomm.com/mycompany_msm8974-la-2-0_amss_oem_standard.git/info/refs not valid: is this a git repository?

When using Git 1.7.10.4, this error can be reproduced. After upgrading to Git 1.8.2 (or higher, current release) the clone is successful

To check which version of Git you are using, issue the following command

git --version

If you need to upgrade your version of Git, please see these links (depending on your OS):