In any kind of neighbour dispute remember that you may be living side by side for a very long time. If a problem arises try speaking to your neighbour in a polite and respectful way. In this case you would be asking your neighbour to trim their overhanging branches. If they refuse you are allowed to trim the overhanging branches back to the boundary line. The branches remain the property of your neighbour and you must give them back.