Revert "[Git] Add getBranchesContainsTag method"

This reverts commit fa54f00fdf29d104f3166f798d1c2df047252a37.

Reason for revert: PRODX-3456

Change-Id: Ieb9dc8649d1607eb23aa19f49f3323ac61005ae3
diff --git a/src/com/mirantis/mk/Git.groovy b/src/com/mirantis/mk/Git.groovy
index e7af77b..a5203f5 100644
--- a/src/com/mirantis/mk/Git.groovy
+++ b/src/com/mirantis/mk/Git.groovy
@@ -619,22 +619,3 @@
     }
     return jsonChange
 }
-
-/**
- * Return array with branches that contains specific tag
- *
- * @param path            Path to the git repository
- * @param tag             search tag
- */
-def getBranchesContainsTag(String path, String tag) {
-    List result
-    dir(path) {
-        def gitResult = sh (
-            script: "git branch --contains tags/${tag}",
-            returnStdout: true
-        ).trim()
-        result  = gitResult.readLines()
-        result.removeAll {it -> it.contains("HEAD detached")}
-    }
-    return result*.trim()
-}