This article is from the FAQ, by with numerous contributions by others.
Yes. You can travel outside the United States. When you travel, you must,
o take your green card to show INS when you come back
o keep a record of the dates each time you leave and come back
o always reenter legally (use the border checkpoint)