How To Connect Projects to Github

This article is for those just new to coding and struggling to learn how to connect you project to Github. This process is a simple step by step without the extra fluff.
Before getting start, I am assuming you have already created your project and now are ready to connect to a Github.
Let’s get started:
- Create a public repository in Github by giving it a name and without the README file


2. Once you’ve created the repository, Github will provide a list of commands.

For this instance, you’ll use the second set up of instructions. Enter each command one by one in your terminal window (make sure you’ve navigated to the appropriate project folder).
echo "# Test" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https:<enter the url provided to you>
git push -u origin main
3. Once you’ve entered each command one by one, confirm your first commit by refreshing the repository’s commit page
