Even if your IDE does not "eat" your file, you might accidentally do it yourself
In fact, a version control system is especially handy when you are adding new features as it makes reverting to older (and working) versions easier, and you could save/commit/record versions often and save space by not having a standalone backup copy each time you want to save the current version.