Versions in this module Expand all Collapse all v0 v0.1.1 Jun 26, 2026 v0.1.0 Jun 26, 2026 Changes in this version + func CurrentBranch(ctx context.Context, dir string) (string, error) + func DefaultBranch(ctx context.Context, dir string) (string, error) + func Exec(ctx context.Context, dir string, args ...string) (string, error) + func HasRemote(ctx context.Context, dir, remote string) bool + func IsClean(ctx context.Context, dir string) (bool, error) + func RemoteURL(ctx context.Context, dir, remote string) (string, error) + func RepoRoot(ctx context.Context, dir string) (string, error)