The following command (a single line with no line breaks) adds the openSUSE Leap 15.1 Wine repository.
> sudo zypper addrepo https://download.opensuse.org/repositories/Emulators:Wine/openSUSE_Leap_15.1/Emulators:Wine.repo
When zypper refresh asks you to trust it, choose "a" for "trust always".
> sudo zypper refresh
> sudo zypper install wine
> wine --version