You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: git_attributes.rb
    path of file: ./repos/tapioca/lib/tapioca/helpers
    
    the code of the file until where you have to start completion: # typed: strict
# frozen_string_literal: true

class GitAttributes
  class << self
    extend T::Sig

    sig { params(path: Pathname).void }
    def create_generated_attribute_file(path)
      create_gitattributes_file(path, <<~CONTENT)
    
    def create_gitattributes_file(path, content)
      # We don't want to start creating folders, just to write
      # the `.gitattributes` file. So, if the folder doesn't
      # exist, we just return.
      return unless path.exist?

      File.write(path.join(".gitattributes"), content)
    end
  end
end