To check if there is any repository path set in my machine to upload
# git remote -v
git remote add origin gitremotepath
to setup token access with your git , go to your profile -> settings -> Developer settings -> personal access tokens -> tokens -> generate new token
save the token
git push -u origin master
provide username : associated email id
password : token
pre-requisites:
mkdir project1
cd project1
git status
git init
git status
git config –global user.name “your name”
git config –global user.email “email id”
git add .
git commit -m “message”