Introduction
This is the first official week of the 2026 Fab Academy Season. This week we have a couple of assignments: 1A Principles and Practices: - plan and sketch a potential [[Final Project]] 1B Project Management: - download, read, and sign the student agreement, and commit the file to your repo - work through a git tutorial - build a personal site in the class archive describing you and your final project In this section of the documentation I will cover the 1B part of the assignments for this week.
Git Basics
Getting Started
So to get started with git I will use the official git documentation. I will start by following the installation guide on the documentation for Windows x64 since that is what matches my computer. After I download the setup exe file using the link in the documentation and run the installer I should be ready to go. To check if git was installed correctly I will open command prompt and run the following command:
git --version
to check both the correct installation and the version of git. the command returns the following text:
git version 2.52.0.windows.1
which indicates git has been downloaded correctly.
I will be using git for version control and here are the general commands that I would be using also indicated in git documentation cheat sheet.
Common git Commands:
Start a new repo: git init
Clone an existing repo: git clone <url>
Add untracked file or unstaged changes: git add <file>
Add all untracked files and unstaged changes: git add .
Make a commit: git commit -m 'message'
Push the current branch to its remote “tracking branch”: git push
Fetch changes and then merge them into your current branch: git pull
Git Labs
Know I will setup an ssh connection with my local computer and my gitlab repo that was created for me in the Fab Academy GitLab. So I can commit to the proper repo for my website. Here is the Guide I used.
ssh-keygen -t ed25519 -C "<GitLab Key>"
to generate the ssh key. Then I enter the location the ssh key should be saved and a passphrase to generate the key. I will use
ssh-add ~/.ssh/id_ed25519
to add the private key to my local computer
I will use:
cat ~/.ssh/id_ed25519.pub | clip
to copy the public ssh key. I will paste this into powershell since it is a bash command. Then I will paste the copied key into User Settings>Ssh Keys.
Hugo
I will use Hugo to generate my site. To setup for the site I will use the following commands to open a folder in my documents folder to create the site in.
cd documents
mkdir 2026FabAcademyWebsiteOmerTunaCavdar
cd 2026FabAcademyWebsiteOmerTunaCavdar
Then I will use
git clone git@gitlab.fabcloud.org:academany/fabacademy/2025/labs/hisar/students/omer-cavdar.git
to clone the current gitlab repo into my folder. I will follow the quick start guide for hugo to setup my site
choco install hugo-extended
I will use Chocolatey as package manager to install hugo since I already have it installed.
I will run the following commads to create my template site.
hugo new site 2026FabAcademyOmerTunaCavdar
cd 2026FabAcademyOmerTunaCavdar
git submodule add https://github.com/CaiJimmy/hugo-theme-stack.git
echo "theme = 'stack'" >> hugo.toml
hugo server
then I uploaded my md files in to the theme and custimized it to my liking.
Then I used
git add .
git push
to push the website into tbe GitLab Repo