Git Basics
As git is the most commonly used source code version control system, understanding the basics of how to use the tool on the command line is essential to working with other team members on a project. If you used a version control system before, you should find some of the concepts familiar. If you are new to using version control for your projects, you may find the entire concept overwhelming at first. Your mentor should be able to guide you through the process of working collaboratively using git or how to use some of the more advanced commands and techniques. Eventually, you should learn the most common branching and merging strategies and how these are used on active open source projects.
Goals/Objectives/Outcomes
- Understand how to install and configure git on various platforms
- Understand how to set the basic settings
- Understand how to create new repositories
- Understand how to add files to a repository
- Understand how to make a commit
- Understand how to look at git history
- Understand how to pull from a remote repository
- Understand how to push to a remote repository
- Understand how merge conflicts occur
- Understand how to work with branches
- Understand about basic branching strategy
Reference Material
Measures of Success
- Participant should be comfortable with the most basic git concepts and how to use the basic git commands to work with repositories
- Participant should understand about remote repositories and how to push and pull
- Participant should understand about merge conflicts (perhaps not yet resolve them)
- Participant understands about basic branching strategy and what Pull Requests are (not yet make them)
- Participant should know where to go to find more information about advanced git concepts and commands
- Participant should be able to articulate answerable questions about git when they are stuck or things aren’t working as expected.