

Pushing a repository updates the version in the cloud so that other team members can “pull” the changes. When you have finished committing your changes, they can be pushed to GitHub. GitHub allows you to look back at past commits and see what changes you made. Each “commit” represents a snapshot in the history of your team’s code. When you are done with a change in git it is “committed” to a branch. For this tutorial we will be only using the “master” branch, but in the future you and your team may want to consider using branches to test new code. The default branch of a repository is called “master”. When the change has been tested, a branch can be merged back into the original source code. Branches in Git allow you to “branch off” of the latest version so you can test a change before modifying the original code. Each repository is split into different branches. Repositories can hold any kind of file, but normally they hold code for projects. It has grown in popularity every since and is now the most popular version management system. Git was created in 2005 to help manage the code for Linux. GitHub is a version management platform that is based on the popular Git software. This tutorial will walk you through the process of setting up GitHub and seamlessly integrating it into your programming workflow.

GitHub may seem daunting to new teams, but it doesn’t have to be. This is the primary reason why the official ftc_app code is hosted on GitHub. GitHub allows people to backup code, collaborate on projects, and share it with others.

One of the most popular version management tools used today is GitHub. Not only does it allow your team to share code between computer, but it also allows you to keep a history of all changes ever made to your code in the cloud. This is exactly why many experienced teams use a form version management. What if all this hassle wasn’t necessary? Many inexperienced teams end up resorting to flash drives, Dropbox, or shared computers to work on code together. One of the challenges of FTC is managing your code and sharing it between all your team members. FIRST Teach Challenge - An Introduction to GitHub An Introduction to GitHub
