Renaming branchesConfiguring the command prompt to show the branch

git branch -d <name_of_branch>

git branch –delete <name_of_branch>

Note :

git branch -D <name_of_branch> : force la suppression d'une branche.