Use git setup on multiple machines to keep them in sync

Is it possible to setup a git remote repository and then use that repository or several machines to keep them in sync. I talking about my zsh setup files, functions, etc. I would tar up some files like .git, .gitconfig, etc. and then extract them at the new machine and then hopefully git fetch the files in the remote repository for that new machine.

Is this possible? Thanks for your help.

Hi! :wave:
In an effort to keep the Community Forum organized and make it easier for other users to find information, we ask that users continue the conversation in existing threads, instead of opening new ones about the same topic. For this reason, I’ll be closing this topic, and you can continue the conversation in the original thread, if you’d like. It’s more likely you’ll get engagement and answers to your own questions this way, too.