read .git/HEAD file directly to find branch instead of running git command line
v0.4.8