# GitHub Setup

> **General instruction to Github:** [**here**](https://docs.google.com/document/d/1E-UW_vXG2GDYEdXYgkmiJ6bJsWRGXU_6CO1PYPR91ic/edit?usp=sharing)
>
> **Crash course to Git:** [**here**](https://app.datacamp.com/learn/courses/foundations-of-git)

## Creating a Github account & security key

This GitHub repository will be your project submission and a great way to track your progress, changes, and accomplishments along the way. Let’s get it set up!

### **First, read the General GitHub Instructions 📖**

Scroll up to the [**General GitHub instructions**](https://docs.google.com/document/d/1E-UW_vXG2GDYEdXYgkmiJ6bJsWRGXU_6CO1PYPR91ic/edit?usp=sharing) section and read it carefully, following the steps all the way through **Step 2**. Take your time here—this will ensure you’re all set for the next part!

### **Second: Complete Steps 1 & 2 📋**

Once you’ve finished **Step 2**, come back here for more instructions on getting your repository fully ready.

## Join GitHub Classroom

Ready for Step 3? Awesome! 🎉 Here’s what to do next:

1. **Join the GitHub Classroom**:

   Click on one of these invite links to join your classroom:

   1. Python Beginner: <https://classroom.github.com/a/PWnI6H6D>
   2. Python Advanced: <https://classroom.github.com/a/ZBoW77jP>

2. **Authorize GitHub Classroom** 👤\
   When prompted, authorize GitHub Classroom (or, if you’re not signed in yet, log into GitHub first).<img src="https://825077565-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy9vTgCprl10E1m8Ff5QP%2Fuploads%2Fhhobu8Sbbq3Dv62jiAnH%2FScreenshot%20from%202024-11-13%2000-04-41.png?alt=media&#x26;token=9317dba0-5c2d-4982-9b54-2a655a371158" alt="" data-size="original">&#x20;

3. **Accept the Assignment** ✅\
   Click **Accept this assignment** to create your personal repository for this project.

<div data-full-width="false"><figure><img src="https://825077565-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy9vTgCprl10E1m8Ff5QP%2Fuploads%2FQMleuEvbXp3dutDIIHvK%2FScreenshot%20from%202024-11-13%2000-05-06.png?alt=media&#x26;token=63e26c6d-3ab0-4fcc-9382-6f95ee31ee04" alt="" width="375"><figcaption></figcaption></figure></div>

4. **Check Your New Repository** 🔗\
   You’ll now see a blue link to your new repository—click it, and you’re ready to start working in your own project space! 🎉

<figure><img src="https://825077565-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy9vTgCprl10E1m8Ff5QP%2Fuploads%2F0LVbSc9wVSVpVF24mMqV%2FScreenshot%20from%202024-11-13%2000-05-23.png?alt=media&#x26;token=8f9f52ae-53d0-4c34-859b-6dd6424c42c3" alt="" width="375"><figcaption></figcaption></figure>

## Clone your repository to your computer

1. Open your repository. Click on **Code**, then on **SSH**
2. Copy the **url**&#x20;

<figure><img src="https://825077565-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy9vTgCprl10E1m8Ff5QP%2Fuploads%2FhrOPzTdBPGMHQqNjV0i6%2Fimage.png?alt=media&#x26;token=d3476b85-c5fb-458d-9744-186eacd7f325" alt=""><figcaption></figcaption></figure>

3. Open **Terminal** on your computer&#x20;

If you don't now where to find terminal:

* **MacOS**: Use combo **CMD + Space**, then type **Terminal**
* **Window, Linux:** Press your Window key, then type **Terminal**

4. In the terminal, **type in** this command and **paste** your Git url at the end of the command

```bash
git clone [git URL]

# For example
git clone git@github.com:TechAcademy-Python/DataScienceProjectPython2425.git
```

5. Now, a new folder should be created on your computer with the name **DataScienceProjectPython2425**
6. Open this folder with VS Code
