MATLAB: Where is the difference between these two lines

filepathsMATLAB

Check out the copy-pasta from my command window in matlab at the end.
I swapped between both lines via the arrow key. And reexecuting the same line gave the same result
I copied both lines into 2 different txt files to have notepad++ compare them, and the only difference it found was in the 'E'
So I tried both lines again, this time with a replaced E (made sure I didnt accidently add any accents or whatever).
I replaced the isfolder() with exist() and got the same weird results ( a 7 instead of logical 1).
But the result is still the same.
What is going on here?
K>> isfolder('‪E:\GIT\loop-test')
ans =
logical
0
K>> isfolder('E:\GIT\loop-test')
ans =
logical
1
K>>
K>> isfolder('‪E:\GIT\loop-test')
ans =
logical
0
K>>
K>> isfolder('‪E:\GIT\loop-test')
ans =
logical
0
K>>
K>> isfolder('‪E:\GIT\loop-test')
ans =
logical
0
K>>
K>> isfolder('E:\GIT\loop-test')
ans =
logical
1
K>> isfolder('E:\GIT\loop-test')
ans =
logical
1
K>> isfolder('‪E:\GIT\loop-test')
ans =
logical
0
>> isfolder('‪E:\GIT\loop-test')
ans =
logical
0
>> isfolder('‪E:\GIT\loop-test')
ans =
logical
0
>> isfolder('‪E:\GIT\loop-test')
ans =
logical
0
>> isfolder('‪E:\GIT\loop-test')
ans =
logical
0
>> isfolder('E:\GIT\loop-test')
ans =
logical
1
>> isfolder('E:\GIT\loop-test')
ans =
logical
1
>> isfolder('E:\GIT\loop-test')
ans =
logical
1
>> isfolder('‪E:\GIT\loop-test')
ans =
logical
0
>> isfolder('‪E:\GIT\loop-test')
ans =
logical
0

Best Answer

So to summarize:
culprit was an invisible character, that windows copied when I took the filepath from the explorer properties' window
Smoother way: Shift + Rightclick and use "copy as path"
Thanks a lot @guillaume, Matt J and Rik.
And sorry for answering in a chaotic way (I first commented on the answer and then on the comments )