git status
................or clone from github
git clone <URL>
.................or create a new repository on the command line
echo "# react" >> README.md
git init
git add README.md
git add . // to add all
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/flyingsonu122/react.git
git push -u origin main
...................or push an existing repository from the command line
git remote add origin https://github.com/flyingsonu122/react.git
git branch -M main
git push -u origin main
git remote -v
git checkout -b patch-1
git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git
git pull https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git BRANCH_NAME