templates / branches--on commit fetch: refactor fetch_refs into two functions (05c4422)
   1: this is just to ensure the directory exists.