thanks!
Use `-z` option for `git ls-files`
fixed spelling
More portable branch name detection. closed #21