If you just need the latest version of the DD4T templates without modifying any code (as I would recommend), you can simply download the latest (2.5) release here: https://github.com/dd4t/DD4T.TridionTemplates/releases. The templates work with Tridion 9.5.
If you want to build a custom set of DD4T-compatible templates, just reference the latest release of ...
There are 2 reasons for that:
slow VPN tunnel (full tunneling is more than 5x times worse), sometimes 100x slower!
cache issues (or disabled at all)
We have fixed many cache errors in latest DXA app and UDP stack