 <p>Typically, how I like to do it is to have a couple of different directories. Something like this:</p> <p><strong><code>Trunk</code></strong> (deploy here)</p> <pre><code> - Production - Staging - Development/whatever </code></pre> <p><strong><code>Branches</code></strong> (develop here)</p> <pre><code> - Master Branch (primary) - Secondary/Tertiary Branches </code></pre> <p><strong><code>Tags</code></strong> (Archive here)</p> <pre><code> - Name a tag appropriately (timestamp, version, edits) </code></pre> <p>Hope this helps. Feel free to ask questions.</p>