private static bool SolveEditor()
{
GitCommands.GitCommands gitCommands = new GitCommands.GitCommands();
string editor = gitCommands.GetGlobalSetting("core.editor");
if (string.IsNullOrEmpty(editor))
{
gitCommands.SetGlobalSetting("core.editor", "\"" + GetGitExtensionsFullPath() + "\" fileeditor");
}
return true;
}