The usage of "git clone" on this page:
https://software.intel.com/en-us/node/672541 IoT - Programming and running applications directly on your development platform | Intel® Software
is incorrect. If you try it:
sh-4.3# git clone https://github.com/intel-iot-devkit/joule-code-samples/tree/master/
Cloning into 'master'...
fatal: repository ' https://github.com/intel-iot-devkit/joule-code-samples/tree/master/' not
The solution is to remove "/tree/master":
sh-4.3# git clone https://github.com/intel-iot-devkit/joule-code-samples
Cloning into 'joule-code-samples'...
remote Counting objects: 900, done.