public static string SubmoduleUpdateCmd(string name) { if (string.IsNullOrEmpty(name)) return "submodule update"; return "submodule update \"" + name.Trim() + "\""; }