Civil and Commercial Code Section 1347:
The owner of a piece of land may cut off and keep roots of a tree or bush which have penetrated from the adjoining piece of land. He may also cut off and keep overhanging branches after giving the possessor of the adjoining piece of land reasonable notice to remove them, such notice not having been complied with.