You can use the sparseCheckout feature of Git which was introduced in version 1.7.0. It allows you to include specific sub directories of a repository in your project. Try this following steps:
- git clone https://github.com/openid/php-openid.git Vendor/Auth
- cd Vendor/Auth
- git config core.sparsecheckout true
- echo Auth/ > .git/info/sparse-checkout
- git read-tree -m -u HEAD
In step #4 above, Auth subdirectory (which you want to use) is added to the .git/info/sparse-checkout file.
If later your decide to change which subdirectory you would like to use then just edit the sparse-checkout file and redo step #5.