def version_tags
      tags = git("tag", "-l").lines.map(&:strip).select do |tag|
        version_part = tag_mapper.call(tag)
        version_part && version_part.version?
      end
      tags.sort_by { |t| Gem::Version.new(tag_mapper.call(t).version_number) }
    end
def version_tags
      tags = git("tag", "-l").lines.map(&:strip).select do |tag|
        version_part = tag_mapper.call(tag)
        version_part && version_part.version?
      end
      tags.sort_by { |t| Gem::Version.new(tag_mapper.call(t).version_number) }
    end
Initializes the Git object with the path to the `.git` directory of the
 desired git repository.

 Chandler::Git.new(:path => "/path/to/my/project/.git")

 Uses `git tag -l` to obtain the list of tags, then returns the subset of
 those tags that appear to be version numbers.

 version_tags # => ["v0.0.1", "v0.2.0", "v0.2.1", "v0.3.0"]