setup repository and pull git code example
Example 1: github remote
echo "# HarryFoods" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin < repo url >
git push -u origin main
Example 2: pull from existing git repo
git init .
git remote add origin [url of the repo]
git fetch origin
// To push
git push --set-upstream origin master
git branch -f master origin/master