During make, I create string fields which I embedded in the linked output. Very useful.
Other than a complex sed/grep parsing of the
sed
grep
git ls-files -m
To find this you could have browsed through git help -a.
git help -a