Run the git commands in each file's directory.

This allows vim-gitgutter to work whatever Vim's current directory is
and whichever repos the files are in.