Just make sure you put a diagonal on to support the weight of the far (from the hinge) side of the gate, even if it’s just a wire /turnbuckle. That will do more to keep things straight than the joinery will.
The early bird gets the worm but its the second mouse that gets the cheese.