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