public string FetchCmd(string remote, string remoteBranch, string localBranch, bool? fetchTags = false, bool isUnshallow = false)
{
var progressOption = "";
if (GitCommandHelpers.VersionInUse.FetchCanAskForProgress)
progressOption = "--progress ";
if (string.IsNullOrEmpty(remote) && string.IsNullOrEmpty(remoteBranch) && string.IsNullOrEmpty(localBranch))
return "fetch " + progressOption;
return "fetch " + progressOption + GetFetchArgs(remote, remoteBranch, localBranch, fetchTags, isUnshallow);
}