How do you talk to girl which is not turning back and walking while pretending that she doesnt know you although she do and i guess is shy?

Just start a conversation about what you like. If she says, for example, I HATE CATS! and you love cats alot, you guys may not be made for eachother. Hang in there, bro.