I’ve setup a repository on Github to share my config files and to have version control. I use VS Code for editing. My HA runs on an Ubuntu server, I have made a smb share where my config files are.
What is good practice ? Create the repository in the config dir or in a local dir and the after editing copy the files to server ?