Templates & Open Source
Build on the work of others and contribute back
📋 A. Using a Template
Find a Template
Navigate to a Template Repository URL (your instructor may provide one, or find one on GitHub).
For example, see the Tier 3 Webpage Template repo.
Use the Template
Click Use this template → Create a new repository.
Name Your New Repo
Give your new repository a name and click Create.
Start Working!
You now have an independent remote copy of the repo to Clone and edit. The template owner won't see your changes!
🌱 B. Forking & Pull Requests (Open Source Workflow)
Fork
Click Fork on the original repo (on GitHub browser) to create a copy on your account.
A Fork maintains a connection to the original repo, allowing you to submit changes back. A Template creates a completely independent copy.
Clone
Clone your fork (remote) to your computer (local).
The URL will be: github.com/YOUR-USERNAME/repo-name
Edit & Push
Make changes and push to your fork (your copy of the original repo).
Pull Request (PR)
This is how you propose your changes to the original project!
- Go to the Original Repository
- Click Pull Requests tab
- Click New Pull Request
- Select "Compare across forks"
- Choose your fork and branch
- Write a description of your changes
- Submit!
⚖️ Template vs. Fork: Quick Comparison
- Creates independent copy
- No connection to original
- Best for: Starting new projects
- Can't submit changes back
- Creates connected copy
- Linked to original repo
- Best for: Contributing to projects
- Can submit Pull Requests
🔄 The Open Source Workflow
✨ Open Source is Awesome!
Contributing to open source is a great way to learn, build your portfolio, and give back to the community. Start small - even fixing a typo in documentation counts!