public IActionResult Clone(string url) { if (!GitHelpers.IsInitialized(Constants.RepositoryFolder)) { GitHelpers.Clone(Constants.RepositoryFolder, url, Configuration.GetValue <string>("repositoryUser", null), Configuration.GetValue <string>("password", null)); RepositoryStructure.Initialize(); } return(RedirectToAction("Index")); }