You can clone with
HTTPS or Subversion.
2.1.7 is the current latest stable. Any chance of getting a release to include the updated code?
Perhaps a better solution would be to dynamically link libdiscount, so that it can be used with any updated version as long as the API remains compatible.