diff --git a/app/models/education/school.rb b/app/models/education/school.rb
index 1bcdadf4ae0349d868949a1bd7208bda3153472d..6f79e2f3beb978ade47e0fe8d554ec8fcb5824c6 100644
--- a/app/models/education/school.rb
+++ b/app/models/education/school.rb
@@ -50,4 +50,10 @@ class Education::School < ApplicationRecord
   def git_path(website)
     "data/school.yml"
   end
+
+  def git_dependencies(website)
+    [self] +
+    university_people_through_administrators +
+    university_people_through_administrators.map(&:administrator)
+  end
 end