You can now delete an entire directory of files including subdirectories from your web browser:

  1. Browse to the directory in the repository and branch that you want to delete
  2. In the top-right corner, click "…", and then Delete directory
  3. Review the list of files
  4. Depending on your permissions and the branch protection rules, choose to either commit the change directly or propose the change using a pull request

Learn more about deleting a file or directory