Set up Github

GitHub is a web-based platform used for version control and collaborative software development, allowing multiple people to work on projects simultaneously. It provides a repository hosting service that includes features like bug tracking, task management, and continuous integration.

Create a GitHub Account

Setting Git with your Github Account

  1. Open Terminal on VS Code

  2. Enter the following code

git config --global user.name “YOUR GITHUB USER NAME”
git config --global user.email “YOUR GITHUB EMAIL USED”

Fork the Exercises Repository

A repository is a central location where code, files, and documentation for a project are stored and managed, often used for version control and collaboration.

  1. While logged into your GitHub account, on the same browser: Go to the following repository (LINK)

  1. Fork the Repository to your account

  2. Navigate to your forked repository that now exists in your account

  3. Click the Code button. Copy the URL for the repository.

  4. On your visual studio code's terminal, go to your home directory

cd $HOME
  1. Clone the repository to your own machine

git clone https://github.com/YOUR-USERNAME/YOUR-FORKED-REPO.git

Make sure to replace YOUR-USERNAME/YOUR-FORKED-REPO with your repository's information

How to use this repository

This repository currently contains the following:

  1. A directory per exercise problems with solutions on YouTube

  2. An empty Python file that a potential programmer can code on.

It is expected that the user understands/knows how to navigate to different directories and execute a Python file from the terminal.

You should be coding the exercises within these directories then pushing your changes to GitHub.

After any meaningful changes, on your terminal:

git add FILENAME.py
git commit -m “explanation of changes”
git push

Last updated