Change git clone git@github.com:yiisoft/yii2-app-basic.git to git clone https://github.com/yiisoft/yii2-app-basic