Build version from git branch and commit id