I have a repository consisting of four files in the master branch: two project files (PHP files btw) plus a README.md and .gitignore. I would like to create an additional branch, that consists of just the two  PHP files at the same commit-level. What's the best practice to keep those two branches in-sync, if possible I would like to commit once only to update my PHP files?
The reason why I'm looking into this, is that I would like to create a branch called dist, that only comes with the essential files.
 
     
     
    