|Audience||Computational skills required||Duration|
|Biologists||Intro to shell for the CLI version of the workshop||3-hour workshop (~3 hours of trainer-led time)|
This repository has teaching materials for a 3-hour Introduction to Git and Github workshop. These Materials are adapted from Software Carpentry’s lessons on Version Control with Git (for novices).
Git and Github provide an easy way to track changes in documents over time, while facilitating collaboration with other team members. Git allows for saving changes and creating new versions of documents, while Github allows for public access to the different versions, as well as, collaboration among individuals on a team. Together, Git and Github, allow for project development between multiple individuals while being able to retrieve all previous versions of the tracked documents.
While initially designed for saving and developing code collaboratively, there are many advantages for using version control with Git and/or Github for other text files and substantial works such as articles, books, and dissertations. Also, since Github hosts the documents online, you never need to worry about losing your priceless work due to your computer crashing. Join us in the workshop to learn the simple bash commands needed to save versions of files on your local computer, as well as, how to make them accessible online on Github.
These materials were developed for a trainer-led workshop, but are also amenable to self-guided learning.
- Describe the benefits of an automated version control system
- Configure and use Git locally
- Link local Git repositories to remote Github account
- Collaborate using Git and Github
Using the Command-line interface
|Introduction to Git||20 min|
|Git basics||45 min|
|Introduction to Github||45 min|
|Collaborations in Github||30 min|
Using a GUI tool (GitKraken)
|What is Version Control||15m|
|Using Git(Kraken) for version control locally||45m|
|Using GitHub for version control “remotely”||45m|
|More about working on Github and practice with GitHub||30m|
|Managing conflicts with GitKraken||30m|
|Working with Commits||20m|
Download the workshop sample files zipped folder and unzip it.
These materials have been developed by members of the teaching team at the Harvard Chan Bioinformatics Core (HBC). These are open access materials distributed under the terms of the Creative Commons Attribution license (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
- Some materials used in these lessons were derived from work that is Copyright © Data Carpentry (http://datacarpentry.org/). All Data Carpentry instructional material is made available under the Creative Commons Attribution license (CC BY 4.0).