private static string GetTreeFromRemoteHeands(string remote, bool tags, bool branches)
{
if (tags && branches)
return RunCmd(Settings.GitCommand, "ls-remote --heads --tags \"" + remote + "\"");
if (tags)
return RunCmd(Settings.GitCommand, "ls-remote --tags \"" + remote + "\"");
if (branches)
return RunCmd(Settings.GitCommand, "ls-remote --heads \"" + remote + "\"");
return "";
}