Ok, after some experiments I got it, I had to use
git clone --depth 1 file:////gitrepos-pc/git/foo/
It should have been 4 slashes, not 3, which was a bit unexpected. I'm still not sure why he insists on file:////
, but I think this is just a fad.
source share