Description
I encounter the git error when testing 1.5.0 RC1 code. The root cause is that there is no git folder in the release code. It seems to me running the tests (and other make action) for release source code is necessary and the git error should disappear.
We can use if-else (e.x `if [ -d "$(BASE_DIR)/.git" ]`) to eliminate the git error.