# How to find modified files in git

If you use git as version control system , you can easily find out all the files, that have been modified between two tree objects, using the following command:

git diff-tree -r --name-only <SOURCE_TREE> <TARGET_TREE>


Here, ‘SOURCE_TREE’ and ‘TARGET_TREE’ may be substituted by commit hashes , branch names, etc.
Please also refer to the official diff-tree documentation.