Building O2 failed for strange reasons

Dear All,

I am trying to build O2 on Mac but it is failing for very strange reason. This is the error message:

DEBUG: Executing git ls-remote --heads /Users/hadi/alice/O2
fatal: unable to read bf4860f92035a335c5f6ffb5673b753c61e77c74
DEBUG: 128
ERROR: Unable to detect source code changes.

I attached here the full aliBuild logalibuild.log (9.7 KB) .

Any idea how fix this ??

Thanks in advance
Best Regards