List all files tracked by git in a single repository
Use ls-tree:
$ git ls-tree -r main --name-status --full-name
main is the name of the branch. To list branches, run $ git branch.
Run $ git ls-tree to see an explation of the flags, e.g. -r.
personal computing command-line interface (cli) gnu linux trisquel shell literacy wiki git