How to upgrade to latest phpMailer from GitHub

I want to upgrade to latest version of the phpMailer from GitHub. anything I need to take care when doing.
What steps need to be done.
TIA

I don’t know if you already succeeded in doing this, but I notice the new release 7.9.6 (and 7.8.7 LTS) have a new version of SugarCRM inside them (6.5.25), and a new version of phpMailer (5.2.25).