Suppose we have two branches as A and B, and these branches have files and folders.
But I want to set a folder named X to be used in both branches simultaneously.
For example, Branch A will contain a1.js, a2.js and the X folder. Branch B will contain b1.js, b2.js and the same X folder as in A.
In short, the X folder will be shared in A and B branches so that all the changes in X will automatically be applied for both.
How can I do that?