How do we know it's heading uphill?

Check out the electric connector on top of the streetcar. There are two on every car--and it always connects with the top of the connector away from the direction of travel. And now you know!