Double clicking on a section heading toggles the visibility of its body, if any. Likewise clicking in the left fringe toggles the visibility of the appropriate section.
A context menu is provided but has to be enabled explicitly. In Emacs
28 and greater, enable the global mode context-menu-mode
. If you use an
older Emacs release, set magit-section-show-context-menu-for-emacs<28
.