delete folder from repo github code example Example: how to delete a folder in github git rm -r my-folder