Usually, after deployment to the production environment a new tag is created in git marking successful production deployment, so later when working on defects it would be much easy to investigate any issues, having the same code as deployed to production. The best way to work with git tags is to create a new branch from the existing tag. It can be done using git checkout
command.
git checkout -b new-branch-name tag-name
Alex Shapovalov is an independent contractor and founder of Yaplex – a Canadian custom software development company. Alex is a seasoned full-stack Software Developer who provides software development services in Canada and the USA.