I'm guessing it has an engine lamp on also. Since there are many possible reasons for the hesitation it would need diagnosis by a mechanic. Stored trouble codes are clues so don't clear anything until a repair is made.
RepairPal Certified shops can diagnose and repair your 2013 GMC Sierra 1500. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.