[ErrorReport] Include git information in stack

Closes https://github.com/CocoaPods/CocoaPods/issues/2678.