How to delete branch in git?

To delete a branch use, the command “git branch –d [head]”