add gitignore
Rename function parse_git_branch because of compatibility to scm_breeze