code: def delete(cls, repo, *heads, **kwargs):
          
          force = kwargs.get("force", False)
          flag = "-d"
          if force:
              flag = "-D"
          repo.git.branch(flag, *heads)
docs: Delete the given heads
  
          :param force:
              If True, the heads will be deleted even if they are not yet merged into
              the main development stream.
              Default False