Version Control

  
How do this solution to work whit different versions of one solution, Like I have a error in an application version 3 and that fix have to be merge to version 4. how work that?