Some time ago I shared an application which I have been using to embed git reference into binary resources, especially as a post-build event in automated manner: Embedding a Git reference at build time. This time I needed a small amendment related to use of a git repository as a sub-module of another repository. To…