As a green card holder, you are free to travel outside the US, & travelling outside the US temporary or briefly usually does not affect the permanent resident status. In the event you did not intend to make the US your permanent home, you will be found to have abandoned your permanent resident status.