text: public virtual NGit.Api.RebaseCommand SetUpstreamName(string upstreamName){if (upstreamCommit == null){throw new InvalidOperationException("setUpstreamName must be called after setUpstream.");}this.upstreamCommitName = upstreamName;return this;}