I have a folder with my project sources. How I can push this project into Github\'s repository?
I tried using this steps:
I found that stimulating an update in "natural" sequence was an easier route than force-pushing things.
Supposing that the repo is already created on github and you may have also put some stuff into the README.md .
On your computer, open terminal and git clone [repo URL]
You'll see a new folder will have been created bearing your repo's name. Feel free to rename it - doesn't matter.
Move your code, files etc into this folder. Edit the README.md if you have to.
Now open Terminal / command prompt, get inside that folder and do things as if you are making the next update to the repo:
git add .
git commit -m "v2"
git push origin master
Note: at the commit command git may reject, asking to configure the user email and password first. Follow the steps as given on screen, then run the commit command again.