The "it" is ambiguous, and the sentence is not well-written. By "it" the author means the expanse of time before capitalism, but the reader can only infer that if they know history. "stretch back" means from the present day, backwards in time.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.