templates / branches--on commit Automatically detect a bare git repository. (ad1a382)
   1: this is just to ensure the directory exists.