Merge 53863269-stale-fork-diagnostics to master

[Completes #53863269]
Revert "Log git info"

This reverts commit cfc217472e058c295b697bbc87e5a67b748c4d1b.
[#53863269]Revert "Revert "Log git info""

This reverts commit c9cb90d86407514bc39dc9170d619e50eb9b21f3.