> For the complete documentation index, see [llms.txt](https://docs.elorabiabderraouf.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.elorabiabderraouf.dev/documentation/git-github/tasks/basic-workflow-task.md).

# Basic Workflow Task

A simple hands-on task to practice the basic Git workflow: add, commit, and push.

## 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&amp;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&amp;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="/files/yQQSAsWM1SK1BYv9qG4M" 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&amp;token=d4625e53-0db7-4a71-acee-4c5808f5a98f" alt="Screen shot for GitHub Repo Page display what is commit - ITC"></picture><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
