- Create a git repo locally, default branch_name:main or master based on the convention you are following>
git init -b <branch_name>
- add all files to local git repo
git add --all
- commiting the files
git commit -m
- your remote repo URL
git remote add origin <REMOTE_URL>
- verify the added remote > git remote -v