code: def get_hook_location(self):
          
          loc = os.path.join(self.path, 'hooks')
          if not self.bare:
              loc = os.path.join(self.path, '.git', 'hooks')
          return loc
docs: returns absolute path to location where hooks are stored