code: def create_head(self, path, commit='HEAD', force=False, logmsg=None):
          
          return Head.create(self, path, commit, force, logmsg)
docs: Create a new head within the repository.
          For more documentation, please see the Head.create method.
  
          :return: newly created Head Reference