fix(git): make branchName optional

fixes issue #25