Adds versioning from git repository via LibGit2.