code: def renew_local_branch(branch, start_point, remote=False):
      
      if branch in branches():
          checkout(start_point)
          delete(branch, force=True, remote=remote)
      result = new_local_branch(branch, start_point)
      if remote:
          publish(branch)
      return result
docs: Make a new local branch from that start_point
  
      start_point is a git "commit-ish", e.g branch, tag, commit
  
      If a local branch already exists it is removed
      If remote is true then push the new branch to origin