GITHUB GUIDE FOR NEW PROGRAMMERS
What is GitHub?
GitHub is a cloud-based platform that uses Git, a version control system, to help developers store, manage, track, and control changes to their code. It's essentially a collaborative platform that allows multiple programmers to work on the same project simultaneously.
https://docs.wpilib.org/en/2020/docs/software/basic-programming/git-getting-started.html
Getting Started with GitHub
1. Create a GitHub Account
- Go to https://github.com/ and sign up for a free account
- Use your school email or your preferred email
- Verify your email address after registration
2. Understanding Key GitHub Concepts
- Repository (Repo): A project folder that contains all of your project files and stores each file's revision history
- Commit: A change to one or more files in your repository
- Branch: A parallel version of your repository that allows you to work on different features without affecting the main codebase
- Pull Request: A method of submitting contributions to a project
- Merge: The act of combining changes from one branch into another
- Clone: Creating a local copy of a repository on your computer
- Fork: Creating your own copy of someone else's repository
3. Basic GitHub Operations
- Creating a Repository: Click the "+" icon in the top right corner of GitHub and select "New repository"
- Forking a Repository: Navigate to the repository you want to fork and click the "Fork" button in the top right