Move getBranchesOfCommit and getTagsOfCommit to JGitUtil.