Greece and its international creditors agreed a new multibillion-euro bailout deal on Tuesday, in an accord which will keep the country in the Eurozone and avert bankruptcy.