diff --git a/.ci_templates/.clang_format.yml b/.ci_templates/.clang_format.yml
index 8195d279eaa191dad8fafc616cd59298c5d05c93..dc263197d73bc5bf68967dfd390ae2933bde2a31 100644
--- a/.ci_templates/.clang_format.yml
+++ b/.ci_templates/.clang_format.yml
@@ -11,7 +11,7 @@
   
   # create temporary branch
   - if [ `git rev-parse --verify ci_clangformat 2>/dev/null` ]; then
-  -   git branch -delete ci_clangformat
+  -   git branch --delete ci_clangformat
   - fi
   - export CI_NEW_BRANCH_CLANG=ci_clangformat
   - echo creating new temporary branch... $CI_NEW_BRANCH_CLANG
diff --git a/.ci_templates/.license_headers.yml b/.ci_templates/.license_headers.yml
index c0ccc011a54d85e09a9ea132665ecb68dfc70cb5..cc3b675ccd6bf027e21971d951052563cd64d77a 100644
--- a/.ci_templates/.license_headers.yml
+++ b/.ci_templates/.license_headers.yml
@@ -12,7 +12,7 @@
 
   # create temporary branch
   - if [ `git rev-parse --verify ci_license_header 2>/dev/null` ]; then
-  -   git branch -delete ci_license_header
+  -   git branch --delete ci_license_header
   - fi
   - export CI_NEW_BRANCH_LICENSE=ci_license_header
   - echo creating new temporary branch... $CI_NEW_BRANCH_LICENSE
diff --git a/.ci_templates/.yaml_schema_cpp.yml b/.ci_templates/.yaml_schema_cpp.yml
index ca6d380fb71d9f367130e96c1435202780b865ec..fb7056750f841bfdd95de84630bd4f1da6127089 100644
--- a/.ci_templates/.yaml_schema_cpp.yml
+++ b/.ci_templates/.yaml_schema_cpp.yml
@@ -38,7 +38,7 @@
 
   # create temporary branch
   - if [ `git rev-parse --verify ci_yamlschemacpp 2>/dev/null` ]; then
-  -   git branch -delete ci_yamlschemacpp
+  -   git branch --delete ci_yamlschemacpp
   - fi
   - export CI_NEW_BRANCH_YAML=ci_yamlschemacpp
   - echo creating new temporary branch... $CI_NEW_BRANCH_YAML