git list tracked files in directory code example Example: git see all tracked files git ls-tree -r master --name-only