Wether you have a project that you already created or you want to start one from scratch, you can do that with the Git CLI.
Adding existing project to a new GitHub repo.
Head to github.com and login. Create a new project but make sure to not check “Initialize this repository with a README” and you probably don’t need a gitignore or license right away and they can be added later. The rest is self explanatory.
Now that you have a repo created the next page has the rest of the commands you need to use to get your files added to the repo.
echo "# Example" >> README.md git init git add README.md git commit -m "first commit" git remote add origin https://github.com/sdatic/Example.git git push -u origin master
These are related to the example I made, change out the url based on your project.
Conclusion
It’s pretty simple to add git to your project and start managing your poject via GitHub. Remember that if you want to keep your project private, to upgrade your account. Let us know if you have more questions or want to share your experiences with GitHub.