Improved git querying for versions, less junk.