Use git describe to obtain current project version