Initially, I had two branches.
-->A-->B-->C [master]<-Head
[v1]
So here master and v1 are at the same place and master is head.
Now, I created an orphan branch v2. It has completely different codebase, the same application on new stack say older one on react and later one on vue.
-->A-->B-->C [master]<-Head
[v1]
-->X-->Y-->Z[v2]
Now I want to make v2 as the master branch, as I consider production always must be master, so what I want in the end is.
-->A-->B-->C [v1]<-Head
-->X-->Y-->Z [master]<-Head
[v2]