Если вы действительно хотите это в один лайнер, вы можете сделать это:
# Find the commit of the folder you are interested in
git log -n1 --pretty=format:"%h" --follow $YOUR_FOLDER
# Find all the files that have changed
git show --pretty=" --name-only $COMMIT_ID
# And make it a one liner
git show --pretty="" --name-only `git log -n1 --pretty=format:"%h" --follow $YOUR_FOLDER`