Week overview

I set up my Git environment, connected my local files to the Fab Academy GitLab repository, and created a clean documentation workflow.

Week 1 Setup

The journey begins

We started the week by installing Git and signing into our Fab Academy GitLab account using the credentials provided by the program. The goal was to link the online repository to my computer so I could edit my website efficiently and keep a clean version history.

GitLab login / repository access screenshot

Learning Git (basic commands)

Before editing anything, I practiced the essential commands to navigate folders and upload changes to GitLab. Below is the set of commands I used the most.

Command Purpose
cdChange directory (for example open a folder)
dir / lsList files and folders
mkdirCreate a new folder
git statusCheck what changed
git add .Stage all changes
git commit -m "message"Create a snapshot with a label
git pushUpload changes to GitLab
git cloneDownload a repository to your computer

Cloning the repository (GitLab → Computer)

To work locally, I created a dedicated folder in my Documents directory. Then I opened my Git terminal inside that folder and cloned the repository using the HTTPS link from GitLab: Profile → Code → copy HTTPS.

git clone https://YOUR_REPOSITORY_URL_HERE
Git clone / public folder screenshot

Opening the project in Visual Studio Code

After cloning, I navigated into the project folder and opened it in VS Code.

VS Code asked to trust the folder. After accepting, I could see all website files and start editing.

VS Code showing the project files

Editing the website (HTML + CSS)

The website is made of HTML pages that share the same style.css. I focused on:

  • Headings using <h1>...</h1> to <h6>
  • Text blocks using <p>
  • Lists using <ul>, <ol> and <li>
  • Images using <img> (with relative paths)
  • Videos and models using <iframe>

Adding local images

<img src="../images/week01/gitlab-login.jpg" alt="GitLab login screenshot" />

Saving changes and uploading to GitLab

Once everything looked correct locally, I pushed updates to GitLab Pages using:

git status
git add .
git commit -m "Week 1: setup + first website updates"
git push
“Small commits are easier to debug. I prefer pushing frequent, clean updates instead of one huge commit.”

Reflection

  • What worked: testing locally before pushing and committing small changes.
  • To improve: adding more screenshots and keeping every week structured (Objectives → Process → Results → Files).