git-branch: shouldn't create branch called '-d' when deleting

Modify branch() to don't call repo.branch() if '-d' option was given.