templates / branches--on commit Update the tracking references only if they were succesfully updated on remote (ed31df3)
   1: this is just to ensure the directory exists.