* Leaders set out differences between U.S., others on climate
* Trade section includes commitment to fight protectionism
* Trump and Putin held first face-to-face meeting Friday
* Clashes between police, protesters cloud meeting (Recasts with final communique)
HAMBURG, July 8 (Reuters) - The final statement from Group of 20 leaders on Saturday exposed a divide between the United States and other G20 members on the Paris accord aimed at combating climate change.
German Chancellor Angela Merkel, hosting the two-day G20 summit, said she was pleased all club members besides the United States had agreed the Paris climate accord was irreversible.
"I think it's very clear that we could not reach consensus, but the differences were not papered over, they were clearly stated," Merkel told reporters at the end of the two-day meeting.
She said she did not share the view of British Prime Minister Theresa May who said on Friday she thought Washington could decide to return to the climate agreement.
In the final communique, the G20 leaders took note of the United States' decision to withdraw from the landmark accord.
"The leaders of the other G20 members state that the Paris Agreement is irreversible," the statement read.
On trade, another sticking point, the leaders agreed they would "fight protectionism including all unfair trade practices and recognise the role of legitimate trade defence instruments in this regard."
Trump, who on Friday found chemistry in his first face-to-face meeting with Russian President Vladimir Putin, congratulated Merkel on her stewardship of the summit.
"You have been amazing and you have done a fantastic job. Thank you very much chancellor," he said.
Trump and Putin on Friday discussed alleged Russian meddling in the U.S. election but agreed to focus on future ties rather than dwell on the past, a result that was sharply criticised by leading Democrats in Congress.
For Merkel, the summit was an opportunity to show off her diplomatic skills ahead of a federal election in September, when she is seeking a fourth term in office.
She treated the leaders to a concert at Hamburg's Elbphilharmonie on Friday night, where they listened to Beethoven while their aides began an all night slog to thrash out the consensus on trade that had eluded the leaders.
Trade policy has become more contentious since Trump entered the White House promising an "America First" approach.
Merkel chose to host the summit in Hamburg, the port city where she was born, to send a signal about Germany's openness to the world, including its tolerance of peaceful protests.
As the leaders met on Saturday, police helicopters hovered overhead. Overnight, police clashed with anti-capitalist protesters seeking to disrupt the summit.
In the early morning, heavily armed police commandos moved in after activists had spent much of Friday attempting to wrest control of the streets from more than 15,000 police, setting fires, looting and building barricades.
The summit is being held only a few hundred metres from one of Germany's most potent symbols of left-wing resistance, a former theatre called the "Rote Flora" which was taken over by anti-capitalist squatters nearly three decades ago.
Police said 200 officers had been injured, 134 protesters temporarily detained and another 100 taken into custody. (Writing by Paul Carrel; Editing by Noah Barkin and Janet Lawrence)