templates: use geturl/baseurl to handle the url rewrite mode (3/3)
controllers: reduce diff with xiphux
Inject git exe into treediff, and add project type checks