Git parsing improved, tests fixed, branch name getting