The MSBbuild is on par with the Makefile: it locates Git, inserts commit tag, resets the file (all is done if git is found).