This does not constitute an offence. According to the Measures for the Administration of Urban Greening, it is illegal to cut down trees without the approval of the urban management department and will be subject to corresponding administrative penalties and fines.
It is not illegal to pick up the branches cut off by the roadside, which is also helpful to reduce the workload of sanitation work. They should thank you.