What is this green line

I was just coding and suddenly I see this

What is it and why whenever i type it just gets erased I already reloaded and reopened tabs and stuff HELP

I think this is the additions since your last commit for git

But I can’t type anything anymore

I can’t type for some reason, when I type, the cursor is always at the beginning of the line or whatever the blinking | is called, and when I type it gets erased after like 2 seconds