I would like to checkout a single file from a remote git-repository.
Is there a way to checkout a single file from a remote git-repository, without checking out the other commits?
EDIT:
Following the answers, I've realized that i can do a git fetch, and then a git checkout origin/branch path/to/file, which works great.