These are the steps you an follow to connect/add an existing project with remote github repository.
- Initialize the local directory as a Git repository.
git init -b featured_branch
- Add the files in your new local repository. This stages them for the first commit.
git add .
- Commit the files that you've staged in your local repository.
git commit -m "First commit"
Add the URL for the remote repository where your local repository will be pushed.
git remote add origin https://github.com/techiebro18/webonsky_rewamp.git
- Push the changes in your local repository to GitHub.com.
git push origin featured_branch