Improve GitTimeout error logging
Fixed lint warnings
Merge pull request #7119 from tensor-dev/improve-git-timeout-logging

Improve git timeout logging