diff --git a/pom.xml b/pom.xml
index fedbab4..35bc7a9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -179,6 +179,13 @@
2.12.0
+
+
+ org.eclipse.jgit
+ org.eclipse.jgit
+ 7.0.0.202409031743-r
+
+
diff --git a/src/main/java/net/geedge/asw/module/app/controller/GitController.java b/src/main/java/net/geedge/asw/module/app/controller/GitController.java
new file mode 100644
index 0000000..a2719b9
--- /dev/null
+++ b/src/main/java/net/geedge/asw/module/app/controller/GitController.java
@@ -0,0 +1,52 @@
+package net.geedge.asw.module.app.controller;
+
+import net.geedge.asw.common.util.ASWException;
+import net.geedge.asw.common.util.R;
+import net.geedge.asw.common.util.RCode;
+import net.geedge.asw.common.util.T;
+import net.geedge.asw.module.app.service.IGitService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+import java.util.Map;
+
+@RestController
+@RequestMapping("/api/v1/workspace")
+public class GitController {
+
+ @Autowired
+ private IGitService gitService;
+
+ @GetMapping("/{workspaceId}/branch")
+ public R listBranch(@PathVariable("workspaceId") String workspaceId,
+ @RequestParam(value = "search", required = false) String search) {
+ List