Remote Cloud Build excludes the .git directory from the build context
Shows how to fix remote Cloud Build excludes the .git directory from the build context. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.