In SQL Server 2008 R2 you can use the same program to generate such scripts when you need them, either all at once or individually.
Individual
You search for the object in the object browser, right click and generate the script you need.
Collective
You search for the database from which you want to obtain the scripts you need, Tasks , Generate scripts ... .
In it, an assistant will open to help you select the objects you need, such as tables, store procedures or views.
Once you select the objects you need on the next screen, you select how you want to store them, in a script saving it or in a screen script.
Note: One of the remarkable things that this option has to use is that if you need to generate a script with both structure and data (or only one of them) you should specify in the Advanced options .
I hope these options help you to be able to save your scripts, as this is only to organize your repo. Greetings.