# File lib/grit/repo.rb, line 218
    def get_head(head_name)
      heads.find { |h| h.name == head_name }
    end