Is there a way to list all files currently under source control in git? (Not just those that have been modified).
If you want to list all files for a specific branch, e.g.
git ls-tree -r master --name-only
If you want to get a list of all files that ever existed, see here:
git log --pretty=format: --name-status | cut -f2- | sort -u