I want to start a Git repo to be used as a basis for a new web development project with a series of pre-configured and prepared technologies (npm project, templates or views, bundlers, preprocessors, plugins, linters ...).
Also, I want to use a branch to adapt the same idea with different alternative technologies (react, vue, preact, etc...)
Having several branches with different alternative technologies, if I want to make a change that only affects that technology, I do it only in that branch, but ... If I want to make a common change in all branches (a file that affects all technologies or, for example, the update of some package to a new version)
Questions:
What is the best way to make a change that affects ALL branches?
Could someone tell me a good approach to do this in Git?