Is there a difference between the digestive and the gastrointestinal tract?

No. They are two ways of saying the same thing. Similarly, the large intestine is also called the colon.