I have a website that i keep in git. It is a asp.net webforms website (but that is probably unimportant to this question).
The website is used by our customer for 2 (in
A submodule is a good solution for the shared BackOffice code, with each site acting as a parent repo.
But that doesn't address the config files.
For those, one possibility is a content filter, but that would involve storing and pushing the values of the variable for the different clients.
It is best to keep those config files in the parent repo in client-specific branches.