Use a generic gitRange object

Instead of explicitly stating tags, one can use tags or even commit hashes.