Instructor: Kendra Oudyk
Outline
Git and GitHub are key tools for doing version control in both academia and industry.
These tools can help students do more efficient, open, and reproducible research.
Further, knowing these tools can help prepare students for careers in academia and industry.
In this lecture, students will learn:
- What is version control and why has it become so important in science and industry;
- How to track and share their own work using git and GitHub; and
- How to collaborate and contribute to open projects using git and GitHub.
Questions you will be able to answer after taking this module
- In a ____ version control system, individuals have the entire repository and its history in their local repository.
- Centralized
- Distributed
- What is the basic workflow for tracking a change and sharing it on github?
git commit
,git add
,git push
git pull
,git add
,git push
git add
,git commit
,git push
- How do you start a parallel line of development, in order to do nonlinear version control?
- make a tag
- start a new branch
- create a remote repository
- How do you make a copy of another GitHub repo on your GitHub account?
git clone <repo address>
- go to the repo’s GitHub page and click “fork”
- go to the repo’s GitHub page and open an issue to ask for a copy
- go to the repo’s GitHub page and do a pull request