public static GitModule OpenModule(IWin32Window owner)
 {
     using (var open = new FormOpenDirectory())
     {
         open.ShowDialog(owner);
         return open.choosenModule;
     }
 }
 public static GitModule OpenModule(IWin32Window owner, GitModule currentModule)
 {
     using (var open = new FormOpenDirectory(currentModule))
     {
         open.ShowDialog(owner);
         return(open.choosenModule);
     }
 }
 public static GitModule OpenModule(IWin32Window owner, [CanBeNull] GitModule currentModule)
 {
     using var open = new FormOpenDirectory(currentModule);
     open.ShowDialog(owner);
     return(open._chosenModule);
 }