class GitClient
  def last_commit_message(dir)
    Dir.chdir(dir) { `git log --format=%B -n 1 HEAD` }
  end
end

class GitClient
  def self.last_commit_message(dir)
    Dir.chdir(dir) { `git log --format=%B -n 1 HEAD` }
  end
end

Make last_commit_message a class method of GitClient
Make last_commit_message a class method of GitClient

[#119926939]

Signed-off-by: Dave Goddard <bfcdf3e6ca6cef45543bfbb57509c92aec9a39fb@goddard.id.au>
