replace #24868 just a patch to fix #24824 in v1.19.4 The reference name of commits when synchronizing should also has prefix like refs/heads/<branch-name>. (cherry picked from commit 826b7b979c)
826b7b979c