For Creating Project Repository
git remote -v
git init
git add .
git status
git commit -m "first commit"
[if it ask for authentication then authenticate it again RERUN this command ]
git branch -m main
git remote add origin "< Directory-Name >"
git push -u origin main
______________________________________________________
For Updates existing Repository
git add .
git status (Able to see changes)
git commit -m "second commit"
[if it ask for authentication then authenticate it again RERUN this command ]
git push -u origin main
______________________________________________________
Moving changes from gitHub repo to local repo( the changes we have done in github
from other source will reflect to our local repo
git pull origin main/master
______________________________________________________
Collaborate with team members