Install Chezmoi:
sh -c "$(curl -fsLS get.chezmoi.io)"
Initialize Chezmoi with your dotfiles repository:
chezmoi init git@github.com:username/dotfiles.git
Then:
chezmoi apply
To update your Chezmoi repository with new changes, you can use the following commands:
chezmoi re-add .config/file
chezmoi cd
git add .
git commit -m "updated"
git push