[Fix #748] Set grep color for BSD and GNU
Revert "Remove extra git-dir call in git-info and use git_dir variable instead"

This reverts commit 3012c0984b2b3fd97a58ac9dad1ae54efc546e49.