added documentation to get branches