Tab groups do not restore names?

You can assign tab colors to paths using folder formats.

Changing names based on path would need a script like this one: Tab-Labelizer - Extend the folder names shown in your tabs