* Creating a new repository on your github account without any file
- logging into your github account page the click "+" at the right upper corner:

- Then typing repository name and creat it without any files in it.
* Push the project to the created repository
- Pushing all files from local dir to github
cd /your/file/dir
git init
git add .
git commit -m "first update"
#copy http address from the repo
git remote add origin https://github.com/Qiaojilim/test.git
git branch -M main
git push -u origin main
- Merging all files from the repo to local dir and upload them back to old repo
#if we need to create a new folder from github then we use git clone https://github.com/Qiaojilim/RACCROCHE-update.git
cd /your/file/dir
#pulling all files from existing repo on github
git remote add upstream https://github.com/Qiaojilim/RACCROCHE-update.git
git pull upstream main
#adding all files from local dir to github repo
git add .
git commit -m "my commitment"
git push origin main