# To enable VNC / SSH
sudo raspi-config
# 1. create private empty repo on github
# 2. clone and push to new empty repo
git clone --bare https://github.com/Gatsby-Lee/moon-rapi.git
cd moon-rapi.git
# push to https or ssh
git push --mirror https://github.com/<username>/moon-rapi-private
cd ..
rm -rf moon-rapi.git
# 3. clone
git clone https://github.com/<username>/moon-rapi-private
cd moon-rapi-private
git remote add upstream https://github.com/Gatsby-Lee/moon-rapi.git
git pull upstream main # This will creates a merge commit
git push origin main # So, push to the merged commit to private if you'd like to merge it into your private repo.
ref: https://stackoverflow.com/questions/10065526/github-how-to-make-a-fork-of-public-repository-private