To initilize in a new computer, run:
git clone --separate-git-dir=$HOME/.cfg https://github.com/omercohen990/.dotfiles $HOME/cfg-tmp
rm -r $HOME/cfg-tmp/
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
config config --local status.showUntrackedFiles no
then, to restore the home directory:
config restore ~