Sitemap
Saide

Saide

1 min readFeb 21, 2026

--

Complete Git + GitHub setup guide

Assume:
GitHub username: saideresearch
Email: example@gmail.com

ONE-TIME SETUP (run once per machine)
# I assume that you use arch linux
sudo pacman -S git
git config - global user.name "saideresearch"
git config - global user.email "example@gmail.com"
ssh-keygen -t ed25519 -C "example@gmail.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
cat ~/.ssh/id_ed25519.pub

# Copy the key
# Go to GitHub → Settings → SSH and GPG Keys → New SSH Key → Paste
ssh -T git@github.com

CREATE A NEW REPOSITORY
# 1. Create an empty repository on GitHub (DO NOT add README)
mkdir project-name
cd project-name
git init
git branch -M main
touch README.md
git add .
git commit -m "Initial commit"
git remote add origin git@github.com:saideresearch/project-name.git
git push -u origin main

CLONE AN EXISTING REPOSITORY
git clone git@github.com:saideresearch/repo-name.git
cd repo-name

DAILY WORKFLOW
git add .
git commit -m "your message"
git push
git pull

--

--