Fix race condition in GitRepository.pull_code() with file-based locking
#21388
+646
−0
GitRepository.pull_code() with file-based locking
#21388