git clone <repo>
git add .
git commit -m "Added new code"
git push -u origin main git remote -v
git branchTo add remote repository
git remote add origin <repo>Remove the old remote repository:
git remote remove origingit pull origin mainDiscard all modified files:
git reset --hard HEADRemove untracked files:
git clean -fdTo add git ignore
New-Item .gitignore -ItemType File