Get your local Git repository on Github Step 1: Switch to your repository's directory
cd /path/to/your/repo
Step 2: Connect your existing repository to Github
git remote add origin https://github.com/Excellent-coding/Laravel_E-commerce.git git push -u origin master
necessary git commands
git init git add . git remote add origin repositorylink git push -u origin master