GIS Practicum · April 15, 2026 · CSA 303
Open a terminal and run these commands one by one:
# 1. Create a project folder
mkdir my-first-repo
cd my-first-repo
# 2. Initialize Git
git init
# 3. Create a file
echo "# My First Repo" > README.md
# 4. Check what Git sees
git status
# 5. Stage the file
git add README.md
# 6. Save the snapshot
git commit -m "Initial commit"
# 7. View history
git log --onelineGo to github.com and sign up (free).
- Click New repository
- Name it exactly:
your-username.github.io(replace with your actual GitHub username) - Set to Public
- Check Initialize this repository with a README
- Click Create repository
- Go to Settings → Pages (left sidebar)
- Under Source, select
mainbranch → click Save - Wait ~60 seconds
Click the pencil icon on README.md and add:
# Your Name
PhD Student in [Your Field] at [Your University]
## Research Interests
- Topic 1
- Topic 2
## Contact
- Email: you@university.edu
- GitHub: github.com/your-usernameClick Commit changes.
Open your browser and go to: https://your-username.github.io
🎉 You are live on the internet!
- Go to Settings → Pages
- Click Choose a theme
- Pick any theme you like → click Select theme
- Your site will update in ~30 seconds
| Command | What it does |
|---|---|
git init |
Create a new repository |
git status |
See what has changed |
git add <file> |
Stage a file |
git add . |
Stage all changed files |
git commit -m "message" |
Save a snapshot |
git log --oneline |
View compact history |
git clone <url> |
Copy a remote repo locally |
git push origin main |
Upload local commits to GitHub |
git pull origin main |
Download latest changes from GitHub |
- Git Book (free): git-scm.com/book
- Interactive Git tutorial: learngitbranching.js.org
- GitHub Pages docs: pages.github.com
- al-folio (academic template): github.com/alshedivat/al-folio
- Git cheat sheet (PDF): education.github.com/git-cheat-sheet