getGitRepoBranch

external fun getGitRepoBranch(options: ExportTargetOptions, checkout: String = definedExternally): Promise<String>

Get the current branch of a cloned repository, optionally checking out checkout first.