only do changed files if in git repo