deleteBranch method
Implementation
Future<GitHash?> deleteBranch(String branchName) async {
var refName = ReferenceName.branch(branchName);
var ref = await refStorage.reference(refName);
if (ref == null) {
return null;
}
await refStorage.deleteReference(refName);
return ref.hash;
}