Access Git Information from MSBuild and Code
Leveraging Git information can be quite useful for generating version numbers,
logging information at runtime, embedding it in assemblies and so on. Here's
one way to do it easily and in a cross-platform way.
[Read More]