jgit

Get a single file from a remote git repository

Is there a way to programmatically download a single file from a remote git repository, in Java? I prefer a solution which uses as little bandwidth as possible, preferably only downloading that single file. I do not need to browse the repository, I already have the file's path. I prefer a solution which does not depend on other applica...