use git to detect file changes