If you’re looking for an excellent way to backup or share your dotfiles, using bare git is a simple and quick way to keep your dotfiles up to date.
Adding AIO Git command
Getting started with Git Alias
Using git alias, you can add an alias that adds all files in the folder, commit, and pushes it in one command.