[git] IDEA-123397 fix following renames in file history

If too many files were changed in the first commit, default rename
detection limit will prevent detecting renames
=> use "--follow" to overcome it (unless git version is 1.7.2 or
older, since follow is buggy and throw errors in some cases).

(cherry picked from commit ec312d01e6c33034e956d1bb0a6b93dddd8e10c2)
[git] IDEA-134564 Additional auth fail indicator requested by Google Cloud plugin

(cherry picked from commit 5f2461d59dad5071fec261eff537ead7fbe1977e)