# 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="/files/FPc4GeXQvxgRsJ1HUYlE" alt="Screen shot from VsCode display what mean local - ITC"><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Bash" %}

<figure><img src="/files/w2HuTxzgcdhYb8odIQul" alt="Screen shot explain git workflow from git bash command line - ITC"><figcaption></figcaption></figure>
{% endtab %}

{% tab title="GitHub" %}

<figure><picture><source srcset="/files/yQQSAsWM1SK1BYv9qG4M" media="(prefers-color-scheme: dark)"><img src="/files/hnjxtze4sUpxkLQKpA2k" alt="Screen shot for GitHub Repo Page display what is commit - ITC"></picture><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.elorabiabderraouf.dev/documentation/git-github/tasks/basic-workflow-task.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
