Welcome! This exercise will walk you through the basics of Git and version control by adding your own file to this shared repository. By the end, you'll have cloned a repo, created a file, and pushed your first commit.
- Clone this repository to your local machine
- Create a personal
.mdor.txtfile - Answer a few short reflection questions inside it
- Commit and push your changes back to the repo
Open your terminal and run:
git clone https://github.com/fuzzylabs/hackathon-introductions.gitThen move into the project folder:
cd hackathon-introductionsDon't have Git installed? Download it at git-scm.com and follow the setup guide for your OS.
Inside the repository, there is a folder called participants/. Navigate into it:
cd participantsCreate a new file named after yourself β use your first name or a handle, no spaces (either a txt file OR a md):
# Markdown option
touch yourname.md
# Plain text option
touch yourname.txtOpen it in any text editor (VS Code, Notepad, etc.) and answer the questions in the section below.
Copy the prompts below into your file and write your answers underneath each one. There are no right or wrong answers β this is about you!
## About Me
**Name (or handle):**
**Where I'm joining from:**
## Reflections
1. What does being part of a women's tech community mean to you?
2. What is it about AI agents that interests you, and what do you hope to learn?
3. If you could build an AI agent to solve any problem, what would it do and why?
4. What's one skill you're bringing to the hackathon, and one you're hoping to pick up?
5. What would a successful hackathon look like for you personally?
Feel free to write as much or as little as you like, you don't have to answer all five questions.
Once you've saved your file, head back to the root of the repository:
cd ..Check that Git can see your new file:
git statusYou should see your file listed under Untracked files. Now stage it:
git add participants/yourname.mdCommit it with a message:
git commit -m "Add yourname participant file"Send your commit up to GitHub:
git push origin mainThat's it β you've made your first contribution! π
| Problem | Fix |
|---|---|
Permission denied when pushing |
Check you've been added as a collaborator, or fork the repo first |
fatal: not a git repository |
Make sure you cd into the cloned folder before running git commands |
| Merge conflict | Let a facilitator know β we'll work through it together! |
| Unsure of your branch name | Run git branch to see all local branches |
Questions? Grab a facilitator or drop a message in the hackathon Slack channel. Happy committing! π»β¨