The source project of this merge request has been removed.
Extract some EE-specific functionality in app/models/repository.rb
Methods related to repository mirroring are EE-only and cause conflicts in the CE->EE merge, e.g. https://gitlab.com/gitlab-org/gitlab-ee/commit/9ee982c1620800b6641f2a769071eb0572c64ceb
Extract them into a separate file.