class Cucumber::Messages::Git

def self.from_h(hash)

def self.from_h(hash)
  return nil if hash.nil?
  self.new(
    remote: hash[:remote],
    revision: hash[:revision],
    branch: hash[:branch],
    tag: hash[:tag],
  )
end

def initialize(

def initialize(
  remote: '',
  revision: '',
  branch: nil,
  tag: nil
)
  @remote = remote
  @revision = revision
  @branch = branch
  @tag = tag
end