bot_git: GitDir learned createOrUpdateBranch
hop_tasks: branchForDir is using new GitDir.createOrUpdateBranch

also added gitBranchForDirTask (resolved TODO)