In the process of building an asp.net mvc core rc1 with sql databases, c#, bootstrap, angular, css, javascript, javascript dependencies, package managers like bower, or any visual studio project for that matter, I sometimes break the application and would like to roll it back to a previous state when the application was working.
What are some ways/the best way to create incremental versions, save and flag working versions, and rollback to earlier versions especially when a project has so many moving parts, technologies, and dependencies?
I would prefer the most standard/popular Microsoft or open source technique or tool that may be free or integrated into Visual Studio.
I also would like the option to do the backups on my local machine rather than on an external server.
Thanks!