Revert "Merge pull request #2886 from mdkent/issue-2885"

This reverts commit bb8f694147cb07cd820297978b0378ffa4c6d54b, reversing
changes made to b12f33eed564f881c8a5038bd8de9be10c6e664e.
Fail faster when git is not installed.
Only retry git commands that hit the network.
Merge pull request #2899 from TimMoore/git-retry-revisited

Git retry revisited