I have a website application which was developed and versioned using Git. A new version of the site was developed from the base of the older site.
The 'legacy' site lives in
master and the new version of the application is now in
What techniques or processes can I employ to better manage this discrepancy?
Ideally, I would like the 'legacy' site to live in a
legacy branch or similar, and our currently deployed code base to be tracked in
Can I just rename the branches? What impact would that have? I assume that I would need to rename all the remotes and anything which was pulling from those remotes?
Or should I think about forking the repo and then cleaning up the new site's repo?
Perhaps I could use tags to manage the divergence?