Many of the currently-used constellations were invented in ancient Greece; others were added a few centuries ago, mainly by Europeans. In 1922, the IAU defined the current constellations, including the official limits between the constellations. You can find out more details in the Wikipedia article on "Constellations", section "History".