templates / branches--on commit get_remote_url(): use the same data source as ls-remote to get remote urls (45781ad)
   1: this is just to ensure the directory exists.