An example.
There is Font Awesome repo https://github.com/FortAwesome/Font-Awesome in GitHub.
It has a folder /fonts
with a set of fonts in it.
https://github.com/FortAwesome/Font-Awesome/tree/master/fonts
I want to clone only those fonts. I don't need to clone full repository, like it is done normally:
$ git clone git@github.com:FortAwesome/Font-Awesome.git
I'd like to do the following
$ git clone git@github.com:FortAwesome/Font-Awesome.git/tree/master/fonts
But I get error:
$ git clone git@github.com:FortAwesome/Font-Awesome.git/tree/master/fonts
Cloning into 'fonts'...
fatal: remote error:
FortAwesome/Font-Awesome.git/tree/master/fonts is not a valid repository name
Email support@github.com for help
Is it possible?