private void CloneRepo(RepositoryInfo repo, string parentFolder)
        {
            Console.WriteLine($"Cloning {repo.Description} into {parentFolder}...");

            if (Directory.Exists(parentFolder) == false)
            {
                Directory.CreateDirectory(parentFolder);
            }

            var cloneCommand = new ProcessStartInfo("git",
                                                    $"clone {repo.GitUrl}");

            cloneCommand.WorkingDirectory = parentFolder;

            Process.Start(cloneCommand).WaitForExit();
        }
        private void SyncRepo(RepositoryInfo repo, string repoFolder)
        {
            Console.WriteLine($"Getting changes for {repo.Description}...");

            var fetchCommand = new ProcessStartInfo("git",
                                                    $"fetch");

            fetchCommand.WorkingDirectory = repoFolder;

            var pullCommand = new ProcessStartInfo("git",
                                                   $"pull");

            pullCommand.WorkingDirectory = repoFolder;

            Process.Start(fetchCommand).WaitForExit();;
            Process.Start(pullCommand).WaitForExit();;
        }