diff --git a/app/client/src/pages/Editor/gitSync/components/BranchList.tsx b/app/client/src/pages/Editor/gitSync/components/BranchList.tsx
index f655d108f6..e61a3ea47f 100644
--- a/app/client/src/pages/Editor/gitSync/components/BranchList.tsx
+++ b/app/client/src/pages/Editor/gitSync/components/BranchList.tsx
@@ -506,13 +506,13 @@ export default function BranchList(props: {
shouldScrollIntoView={activeHoverIndex === 0}
/>
)}
-
+
{filteredBranches.map((branch: string, index: number) => (
<>
{getIsStartingWithRemoteBranches(
filteredBranches[index - 1],
branch,
- ) && }
+ ) && }