Perforce have a concept of branch mapping where you just define a mapping between different paths.
You could have the following saved branch mapping
//depot/proj1/path1/... //depot/proj1/path1-renamed/...
After this mapping is done the development can continue in both branches and from time to time a merge based on the mapping can happen.
In git I have a similar "renaming" and independent branch development after that but still I want to merge from time to time the changes from one branch into the other.
#desired in git
//https://github.com/mucommander/mucommander-commons-io/tree/master/src/main/java/com/mucommander/commons/io //https://github.com/mucommander/mucommander-commons-io/tree/master/src/main/java/com/mucommander/commons/io2
How should I do it? What is the perforce branch mapping equivalent in git?