To realign the door just pry off the hinge cap and loosen the hinge screws.
How to fix refrigerator door hinges.
If the hinges are bent causing the door not to open and close properly you will have to replace the door hinges.
You can follow the steps in this video to help you do this easy repair.
Then align the door with the top of the refrigerator.
Adjust only the top hinge to straighten an upper door.
To realign the lower door adjust the middle hinge.
Prepare to quell the squeal before you eradicate the squeak remove the refrigerator contents from the door compartments and shelves.
Moving the middle hinge will affect the upper door so you may have to adjust the top hinge afterward.