IDEA-107677 Incorrect displaing branch in case of multi heads

*Branch storage collection changed to set to avoid storage multi branches with different hashes.