Clone repo from GitHub

1. Go to GitHub repo and copy HTTPS
https://github.com/zingpython/Intro_python_1.git

2. Go to your terminal and type

git clone https://github.com/zingpython/Intro_python_1.git

3. Then just

$ cd intro_python_1

Add existing project to GitHub

1. Create a new Repo on GitHub
2. Open your existing project in terminal

$ git init

3. To add files

$ git add *

4. Commit your files and write a message

$ git commit -m "message"

5. Clone your new Repo from GitHub into your project

$ git clone https://github.com/username/your_new_repo

6. In the project folder type

$ git remote add origin https://github.com/username/your_new_repo

7. Check if remote master is your new Repo

$ git remote -v

8. Push your code!

$ git push -u origin master

This titurial is provided by Art