Code quality ,semgrep-sast failed :''not valid: is this a git repository?"

Hello Forum! I need a little help. II have install the Gitlab and Gitlab runner on my local machine


I am trying to run the CICD on my Employee registration project .
My build and deployment jobs are successfully completed but my code quality, secret detection and semgrep-sast jobs are getting failed , it throwing the error:
fatal: http://localhost.internal.com/fineshift/employee_registration.git/info/refs not valid: is this a git repository?
I have already refer some of the solution but still i am getting the same issue.
([SOLVED] Build failed: "Is this a git repository?")