The colored lines on the side of the Visual Studio text editor show lines that have been changed since opening and are not saved (yellow) or saved (green).
This is a convenient way to quickly find out what changes you made to the file at a glance. However, if you want to disable it, you can switch it by going to Tools → Options → Text Editor and uncheck the Track Changes checkbox.

jstromwick
source share