Move git repo detection to separate defun
Configure git-grep (C-c g) as an alternative to ag