The word "up" is absolutely necessary. The second sentence is not English. "up" is the preposition. "the path" is the object of that preposition. "to go" ("going") is not a transitive verb, so it cannot be followed directly by an object.
You can see something, you can wash something, you can find something, you can lift something, but you can't go something. "go" doesn'