When writing code on a desktop pc as well as on a laptop or other computer, is there a general recommended strategy for being able to keep the same environments set up on both machines?
I use Git heavily for keeping the code sync'd, VsCode has settings sync, Pip and NPM etc for packages, but there are other aspects of the environment which have to stay in sync that aren't covered by the former.
E.g.
XAMPP configs setup with XDebug for PHP (I have set this up countless times on different PC's and its always a pain)
Third party binaries
Literally just any kind of folder or file I'd like
I am using Windows, but im sure there is some OS and tool agnostic strategy guys have figured out over the years to optimize this process.