Push folder into private repo github

Follow next steps in console terminal

Initialize git in folder

git init

Add all files of folder to be pushed

git add .

Add first commit

git commit -m "Your First commit"

Replace with your remote repo url

git remote add origin remote_repository_URL

Verify that your remote repository url is properly found

git remote -v

Force pushing your project into github repo

git push --force origin master