def __new__(cls, repo_path=None, **kwargs):
        window = sublime.active_window()
        for view in window.views():
            vset = view.settings()
            if vset.get("git_savvy.interface") == cls.interface_type and \
               vset.get("git_savvy.repo_path") == repo_path:
                window.focus_view(view)
                return interfaces[view.id()]

        return super().__new__(cls)
Search for intended interface in active window - if found, bring it
dataset/ETHPy150Open divmain/GitSavvy/common/ui.py/Interface.__new__