Skip to content

A hands-on repository for learning GitHub basics! Dive into beginner-friendly exercises that guide you through creating repositories, making commits, handling branches, resolving merge conflicts, and more. Perfect for building confidence in version control and open-source collaboration.

License

Notifications You must be signed in to change notification settings

Maras13/git_playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Welcome to GitHub Playground 🛠️🐙

This is your go-to space to experiment, learn, and maybe have a little fun with GitHub. Whether you're a coding newbie or just brushing up on the basics, these exercises will guide you through the essentials of GitHub, one task at a time. 🎢

Each exercise has a fun theme and clear goal to keep you on track. Plus, we threw in a few emojis just for flair. 🚀 Ready to level up your GitHub game? Let’s dive in! 🌊

Beginner Exercises 🐣

  1. Explore the GitHub Interface 🖱️

    Spend some time snooping around the GitHub interface. Check out tabs like Code, Issues, Pull Requests, Actions, and Settings.
    Goal: Get comfy with the layout and start feeling like a GitHub pro!

  2. Create Your First Repository 🐱

    Head over to GitHub, click that shiny New Repository button, and name it my-first-repo. Add a README to introduce your project.
    Goal: Experience the thrill of creating your very own repository.

  3. Add a Description to Your Repository ✏️

    Add a brief description and relevant tags under Settings to make your project stand out.
    Goal: Metadata matters! Improve organization and discoverability.

  4. Create a New File Directly on GitHub 🗂️

    No command line needed! Just create an about.md file directly on GitHub and write a few words about your project.
    Goal: Master the art of in-browser edits for quick, on-the-go changes.

  5. Edit a File Directly on GitHub 📝

    Tweak your README.md or about.md right in the GitHub editor, then save it with a clear commit message.
    Goal: Get comfortable with fast, direct edits to keep your project updated.

  6. Clone a Repository to Your Local Machine 📥

    Bring your repository from GitHub to your local setup with git clone.
    Goal: See how to pull projects from the cloud down to earth.

  7. Make Your First Commit ✍️

    Add some local changes, then stage and commit them with git add <file_name> and git commit -m "message".
    Goal: Lock in your edits and start tracking changes like a version control wizard.

  8. Push Your Changes to GitHub 🚀

    Send your local commits back to GitHub with git push.
    Goal: Keep your remote repository up-to-date with your latest changes.

  9. Create and Switch to a New Branch 🌿

    Start a new branch called feature-branch with git switch -c feature-branch.
    Goal: Discover the magic of branches and avoid breaking your main codebase!

  10. Make a Pull Request (PR) 🔄

    Make some edits on feature-branch, push it, and open a PR to merge with main.
    Goal: Practice the PR flow to collaborate and get code reviews like a pro.

  11. Resolve a Merge Conflict ⚔️

    Create a merge conflict by editing the same line in both main and feature-branch, then resolve it.
    Goal: Learn to handle conflicts with grace under pressure.

  12. Fork Another Repository 🍴

    Fork this GitHub Playground repository and bring it to your own account.
    Goal: Forking lets you contribute to projects or even build on them independently!

  13. Make Changes on a Forked Repository 🔄

    Clone your forked repository, make a small edit, and push it back to GitHub.
    Goal: Practice making contributions to projects you don’t own.

  14. Submit a Pull Request to the Original Repository 📨

    From your fork, open a PR to the original repo with your edits.
    Goal: Contribute to open-source projects and become part of the GitHub community.

  15. Explore GitHub Insights 📊

    Visit Insights on one of your repos and check out analytics like Contributors and Commits.
    Goal: Learn to monitor project activity and keep track of contributions.

  16. Star and Watch a Repository ⭐️👀

    Give GitHub Playground a star, and Watch it to stay updated on changes.
    Goal: Show some love to your favorite projects and follow their progress.


Now you’re ready to take on GitHub like a pro. Each exercise is a small step toward mastering version control, collaboration, and the amazing open-source community on GitHub. So dive in, and may your commit messages be clear and your merge conflicts be few!

About

A hands-on repository for learning GitHub basics! Dive into beginner-friendly exercises that guide you through creating repositories, making commits, handling branches, resolving merge conflicts, and more. Perfect for building confidence in version control and open-source collaboration.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published