# Basic Workflow Task

## Basic Git Workflow

Learn the **absolute minimum** Git workflow:

> change something → save it → send it to GitHub

***

### 📁 Task Instructions

#### 1. Create a local folder

* On your **Desktop**, create a new folder named: `task3-yourName`

#### 2. Create a file

* Inside the folder, create a file named `README.md`
* Add the following content:

```md
My name is: <your Discord username>
```

#### 3. Create a GitHub repository

* Go to the Team organization
* Create a new private repository
* Use the same name as your folder:

```
task3-yourName
```

#### 4. Push your first commit

* Initialize Git locally
* Add the file
* Commit your changes
* Push the project to the GitHub repository

{% hint style="info" %}
💡 Only committed changes are pushed to GitHub.
{% endhint %}

#### 5. Make a second change

* After the first push:
  * Create a new file named `index.js`
  * The file can be empty
* Add, commit, and push this change again

### ✅ Expected result

* Repo exists on GitHub
* Both files are visible:
  * `README.md`
  * `index.js`
* Commit history shows **2 commit**

### 🧠 What you will learn

* How to initialize a Git repository
* The basic Git workflow:
  * add → commit → push
* The difference between local files and GitHub (remote)

<p align="center"><a href="https://github.com/RoBoCRAFTYT01/Git-GitHub-Task" class="button secondary" data-icon="github">Open task on GitHub →</a><a href="https://github.com/organizations/ITC-Frontend-Advanced/repositories/new" class="button primary" data-icon="code-branch">Start the Git task ✓</a></p>

{% hint style="warning" %}
**Deadline:** 24 Dec 2025 08:30 PM
{% endhint %}

{% tabs %}
{% tab title="Local" %}

<figure><img src="https://3249617718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpzNoKyRT08lgbjfyEuxL%2Fuploads%2Fg1KbGn8gztYBbXSJyGNj%2FScreenshot%202025-12-22%20113659.png?alt=media&#x26;token=0caa061c-8641-4a74-b293-cb1658b11ebc" alt="Screen shot from VsCode display what mean local - ITC"><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Bash" %}

<figure><img src="https://3249617718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpzNoKyRT08lgbjfyEuxL%2Fuploads%2FoAjo9qYtkT3z71LMbLpp%2FScreenshot%202025-12-22%20111930.png?alt=media&#x26;token=1188d712-2f61-4e2d-a4bb-530fd9b1b5e1" alt="Screen shot explain git workflow from git bash command line - ITC"><figcaption></figcaption></figure>
{% endtab %}

{% tab title="GitHub" %}

<figure><picture><source srcset="https://3249617718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpzNoKyRT08lgbjfyEuxL%2Fuploads%2FLS2R6qJ1RnwevBQjDcGl%2FScreenshot%202025-12-22%20112514.png?alt=media&#x26;token=132afd2b-1c61-4f25-b3c4-dd5f2fbfce76" media="(prefers-color-scheme: dark)"><img src="https://3249617718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpzNoKyRT08lgbjfyEuxL%2Fuploads%2FLkCsRCaRKJQ6fizlzY2t%2FScreenshot%202025-12-22%20112440.png?alt=media&#x26;token=d4625e53-0db7-4a71-acee-4c5808f5a98f" alt="Screen shot for GitHub Repo Page display what is commit - ITC"></picture><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}
