I was going to suggest using PDF rather than LRE to close off the right-to-left bit, but it turns out that ‬ actually is PDF…
AFAIK it is custom to present BiDi issues to a mostly-English-reading audience using small letters for the LTR text and capitals for the RTL. So Yaron’s example becomes:
"I wrote
ETAVIRP gitlab A NI
(note Hebrew places adjectives after their nouns -Shai)
"And ended up with
gitlab ETAVIRP A NI
I hope this makes the issue easier to see.