The problem is that after your delete and push branch it is not lost forever and is still in the repository. I deleted a branch with a lot of unnecessary files, but as long as it is still somewhere in the git repository, the clone git command takes too long.
So far, only I see that you need to delete the entire repository and recreate it, but without an extra branch.
source
share