How to apply patches on Term Reference Tree
If you would take one second and google how to apply patches, you would come across this page: https://www.drupal.org/patch/apply. It explains how to apply patches.