Look for version in git history

* Find actual repository root
* Find both v1.2.3 and 1.2.3 version formats (in git history)