General Motors Co. reached a tentative agreement with the United Auto Workers to end a six-week strike with similar terms to the deal signed earlier by Ford Motor Co., according to people familiar with the matter. Members still need to ratify the agreement.