If you have brain damage you will probably have to start all over again, maybe it will be easier this time, and the good thing is you are already officially recognized as a software developer so you don't have to care about grades, colleges fees and learning unnecessary and/or outdated crap because you need the credits, plus your working experience will make your CV look awesome, even though you don't remember any of that and you will have to learn it all again if you want to perform as you used to, of course.
On the other hand, if your amnesia is not the result of a physical injury, but a psychological trauma, you should focus on working on your issues with a good psychiatrist: your well being and sanity are far more important than your career, and maybe forgetting all that is your brain's way to tell you it wasn't doing you any good and it wasn't a good idea to learn it in the first place.
On the other hand, if your amnesia is not the result of a physical injury, but a psychological trauma, you should focus on working on your issues with a good psychiatrist: your well being and sanity are far more important than your career, and maybe forgetting all that is your brain's way to tell you it wasn't doing you any good and it wasn't a good idea to learn it in the first place.