Revert "Exit early from git plugin if not in git repo."
Merge pull request #3095 from robbyrussell/revert-1504-master

Revert "Exit early from git plugin if not in git repo." due to #3082
Merge remote-tracking branch 'origin/master' into Darwin