I'm using puppet to manage my linux systems. I have to use /etc/puppet directory to keep manifest files instead of user home directory, and I want to manage them by git. But because /etc/puppet's owner is root, after I execute 'sudo git init', I always need to use sudo for writing(git add, git commit, etc).
Are there any way to avoid using sudo? If I have to manage system directory using git, do I have to always use it?
Is it OK to use sudo using git repeatedly? I've never done that, because I always edited source files in my home directories.