Welcome to our interactive GitHub Workshop Project!
This repository is designed to help you learn Git and GitHub hands-on — by contributing your own little piece of Python code! 🐍
In this activity, every participant will:
- 🔁 Fork this repository
- 💻 Clone it to their computer
- ✏️ Add their own Python function inside
contributors.py - 🧱 Commit and Push their changes
- 🚀 Create a Pull Request to the main repository
By the end of this activity, you’ll clearly understand how to:
- Fork a repository
- Clone it locally
- Stage, Commit, and Push changes
- Create and submit a Pull Request (PR)
-
Fork this repository
Click the Fork button on the top-right of this page to make your own copy. -
Clone your fork
Open Git Bash or your terminal, and type:git clone <your-forked-repo-link>
-
Open the folder in VS Code
-
Open contributors.py and add your own function. Example:
def john(): print("Hey everyone! John here — learning GitHub is awesome!")
-
Call your function at the bottom of the file.
john() -
Save the file, then add, commit, and push your changes:*
git add . git commit -m "Added my function - John" git push
-
Create a Pull Request (PR)
-
Go back to your forked repository on GitHub
-
Click “Compare & pull request”
-
Add a message like “Added John’s contribution”
-
Click Create Pull Request
-
Once everyone’s PR is merged, running contributors.py will display messages from all participants — a collaborative script built by our entire class! 💪
This repository is part of our GitHub Workshop, organized to make version control simple, fun, and interactive for everyone.