How do I checkout just one file from a git repo?
You can do it by
git archive --format=tar --remote=origin HEAD | tar xf - git archive --format=tar --remote=origin HEAD | tar xf -