I use Chezmoi to manage my dotfiles.
$ brew install chezmoi
$ chezmoi init [email protected]:soya-miyoshi/dotfiles.git
$ chezmoi apply
I heavily referenced and copied from NagayamaRyoga/dotfiles
when deciding which plugins to install and when writing bash files.
Thank you @NagayamaRyota for great scripts!