scripts: Clone git repositories using tree-less clone
This will save time downloading on servers that support it, because only the checked out commit's trees and blobs are downloaded on checkout while only the history is being downloaded for all other commits.
Signed-off-by: Andreas Gnau andreas.gnau@iopsys.eu