How to use Github

Create and clone repository

If you don't have a Github account, click here to create one.
Once you've created your Github account:

  1. Create a repository



  2. Copy provided link from Github



  3. Go to Terminal and clone the repository by using command: git clone <link>




  4. Add all the files to Github via the Terminal in VSCode by using command: git add .



  5. Signal to Github these changes by using command: git commit -m "<message>"



  6. Create a new Branch in Github by using command: git branch -M <name>



  7. Create a remote Branch by using command: remote add origin <URL>



  8. Push to Github by using command: git push -u origin <name>



  9. Check to see that your Github has been updated

Add, Commit, Push!

Next: HTML Basics

Return to previous page
Return to main page