change checkout -D to branch -D