hugo new site blog --format yaml

cd blog
git init
git add .
git commit -m "generated hugo site"

git submodule add --depth=1 https://github.com/adityatelange/hugo-PaperMod.git themes/PaperMod
git submodule update --init --recursive # needed when you reclone your repo (submodules may not get cloned automatically)

echo 'theme: ["PaperMod"]' >> hugo.yaml

git add .
git commit -m "theme PaperMod"