Skip to content

About

A beginner-friendly Git & GitHub practice repository for the Data Science Club at USTHB. Learn Git fundamentals, branches, commits, collaboration, and Pull Requests through hands-on exercises.

Topics

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Git & GitHub Club Practice

Welcome to the Data Science Club · USTHB Git & GitHub practice repository!

This repository is a safe place to practise the workflow from your first commit to your first Pull Request.

Learning Resources

New to Git or GitHub? Start with these resources:

Workshop Goals

By completing the challenges, you will learn how to:

  • Fork and clone a repository.
  • Create a feature branch.
  • Edit and stage a file.
  • Make a meaningful commit.
  • Push your branch to GitHub.
  • Open a Pull Request for review.

Practice Challenges

Follow the guided exercises in the workshop-challenges/ folder:

  1. Your First Commit
  2. Working with Branches
  3. Resolving Merge Conflicts
  4. Your First Pull Request

Your First Contribution

  1. If you are contributing to the club's original repository and do not have write access, click Fork on GitHub.

  2. Clone your fork:

    git clone <your-fork-url>
    cd git-github-club-practice
  3. Create a branch using your name or GitHub username:

    git switch -c docs/add-your-name
  4. Open CONTRIBUTORS.md and add your name using the format already shown there.

  5. Review your change:

    git status
    git diff
  6. Stage and commit:

    git add CONTRIBUTORS.md
    git diff --staged
    git commit -m "docs: add <your-name> to contributors"
  7. Push your branch:

    git push -u origin docs/add-your-name
  8. On GitHub, open a Pull Request from your fork's branch to the original repository's main branch.

  9. In the PR description, explain what you changed.

Contribution Rules

  • Make one small, focused contribution per Pull Request.
  • Use a descriptive branch name.
  • Use a clear commit message.
  • Do not commit passwords, API keys, tokens, .env files, virtual environments, or private data.
  • Be respectful in reviews and discussions.
  • Do not edit another contributor's entry without permission.

Suggested Branch Names

  • docs/add-your-name
  • docs/improve-readme
  • fix/fix-typo
  • feature/add-resource

Need Help?

Open an Issue in this repository and describe:

  • What you were trying to do.
  • The command you ran.
  • The complete error message (remove any passwords, tokens, or private information).

Happy learning!

About

A beginner-friendly Git & GitHub practice repository for the Data Science Club at USTHB. Learn Git fundamentals, branches, commits, collaboration, and Pull Requests through hands-on exercises.

Topics

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors