Detects which files have changed between two git refs.