Is it possible there's a 'bug' whereby code folding does not 'crash' or 'break' but simply that functionality is not called when using the tab context menu's "Reload current document" option on a file opened (then re-opened after switching git branches) from a remote location?
Just have an itch that this is at least one case where folding is not so much misbehaving, as seems to still happen here and there, at least for me, but one that just might have been forgotten
![Smile :)](./images/smilies/icon_smile.gif)
Thanks