In the Lesson on Git, at some point, the delete option
-D was used to delete a branch. For example,
git branch -D branch-name.
While at other times, the delete option
-d was also used to delete a branch. For example,
git branch -d branch-name.
What is difference between the uppercase -D option and the lowercase -d option and when should either of them be used?