templates / branches--on commit diff: make sure work tree side is shown as 0{40} when different (2b459b4)
   1: this is just to ensure the directory exists.