fancy --version that includes git branch and timestamp of last commit if available
for version string, try to handle case where head is detached