Instead of cloning, perhaps you can just upload the file.
Assuming the repository is public, you can upload a single file as follows:
wget https://raw.githubusercontent.com/jquery/jquery/master/src/ajax.js
To get the URL, go to the file on GitHub and select "raw".
Jonathan.Brink
source share