private void InitSubdir(string repositoryPath) { if (!Directory.Exists(repositoryPath)) Directory.CreateDirectory(repositoryPath); Environment.CurrentDirectory = repositoryPath; _globals.GitDir = ".git"; }