When parking uphill on a hill or incline with a curb:

To keep your vehicle from rolling into traffic when parked facing uphill, turn your front wheels sharply away from the curb. If you are parking uphill on a street that has no curb, turn the wheels sharply toward the edge of the road.
DMV Writen Test