diff --git a/app/react/portainer/gitops/GitForm.tsx b/app/react/portainer/gitops/GitForm.tsx
index a651ee788..834de6e82 100644
--- a/app/react/portainer/gitops/GitForm.tsx
+++ b/app/react/portainer/gitops/GitForm.tsx
@@ -74,6 +74,20 @@ export function GitForm({
errors={errors.RepositoryURL}
/>
+
+
+ handleChange({ TLSSkipVerify: value })}
+ name="TLSSkipVerify"
+ tooltip="Enabling this will allow skipping TLS validation for any self-signed certificate."
+ labelClass="col-sm-3 col-lg-2"
+ />
+
+
+
handleChange({ RepositoryReferenceName: value })}
@@ -117,20 +131,6 @@ export function GitForm({
)}
-
-
-
- handleChange({ TLSSkipVerify: value })}
- name="TLSSkipVerify"
- tooltip="Enabling this will allow skipping TLS validation for any self-signed certificate."
- labelClass="col-sm-3 col-lg-2"
- />
-
-
);