GIT_SILENT: make it compiles without deprecated methods

Authored by mlaurent on Oct 23 2019, 6:05 AM.