How do you move a mesh to the origin?
To move it's location:
Select the object, move the 3D Cursor to the center (Shift + S, R) or to a desired location, then move the selection to the cursor (Shift + S, T).

To change the origin:
Select a part of the object in Edit Mode, move the 3D cursor to it, and then
switch to edit mode and snap the object to the cursor(Shift + Ctrl + Alt+ C, T).

Rotate the object first if you want to change the angle.