To list all the files currently being tracked under the branch master using:
git ls-tree -r master --name-only
This command will list the files that are being tracked currently.
If you want a list of files that ever existed use:
git log --pretty=format: --name-only --diff-filter=A | sort - | sed '/^$/d'
This command will list all the files including deleted files.