In Git, if you want to get the location of a file within the repository
git ls-tree git ls-tree -r HEAD --name-only -r recursively lists all files. HEAD is the current branch/commit. --name-only shows only the file paths. --name-only shows only the file paths.
git show --name-only HEAD