Improve logging of git operation errors
Protect from duplicated v in version
Add log statement to make editor action obvious