@shopify/cli-kit
    Preparing search index...

    Function initializeGitRepository

    • Initialize a git repository at the given directory.

      Parameters

      • directory: string

        The directory where the git repository will be initialized.

      • initialBranch: string = 'main'

        The name of the initial branch.

      Returns Promise<void>