What is git and what is it used for?

The guide to everything controls for 1675 members.

What is git and what is it used for?

Git is a version control system which is capable of cataloging all changes you make to tracked files. Git centers around the manipulation of branches of code, to work separately on and eventually merge different sets of code to collaborate on a final product. When you create or edit a file on your computer, the changes you make locally can be recorded and can differ from that of the “global” code repository otherwise known as origin (for us, this one is hosted under the frc1675 organization). We use git with a specific set of commands and GitHub interactions to (mostly) enforce a process that provides a higher level of quality assurance via review and testing before new code joins the rest. How all of these benefits are achieved is through proper utilization.

How to use git

Commonly Used Commands:

git development cycle

For more info on commands and git, type: man git into your command line. Or watch this video.

Create a GitHub account

GitHub is one such online git service provider. To create a new GitHub account follow the instructions below or watch this video!

1. Visit GitHub and Click Sign Up!
2. Enter Email: Professional/Personal
3. Create a Password: Memorable!
4. Select a Username: Professional Recommended
5. Verify Email and Enjoy!

Install git

Install git on your development computer. You can get it from https://git-scm.com/ . Team laptops will have git already installed and configured the way we want.

When installing select these options:

Those are the important ones to make sure, default on every other screen should be fine.

Having a GitHub account is required for contributing to 1675’s codebase. It may seem overwhelming at first, but keep at it and in no time you’ll soon be a master! To continue and find information on contributing code visit: How to Contribute.