public static string AddSubmoduleCmd(string remotePath, string localPath, string branch)
{
remotePath = FixPath(remotePath);
localPath = FixPath(localPath);
if (!string.IsNullOrEmpty(branch))
branch = " -b \"" + branch.Trim() + "\"";
return "submodule add" + branch + " \"" + remotePath.Trim() + "\" \"" + localPath.Trim() + "\"";
}