We will cover the basics of GitHub which are most useful to researchers, simple methods for collaboration, and how to integrate Git with RStudio. Advanced and useful methods for collaboration can be found at links found at the bottom of this page.
Understanding of how to navigate to files on your computer.
Understanding of how to create folders on your computer.
Install Git.
Register an account on GitHub.
Verify your e-mail for GitHub (via your e-mail service)
Click here to be in the live chatroom for the workshop. You can remain anonymous and ask questions/comments as the workshop goes on.
Lesson 1 - Getting Started on GitHub (Create a Repository, Clone, Commit, Push)
Lesson 2 - RStudio Integration
Lesson 3 - Collaboration (Cloning, Pulling, and Restoring)
Git is version control software.
- Version control software saves a history of changes, with one version of each file.
- Every time you "commit" in git, you save a version of any files included in the commit.
- Some of you familiar with Google Docs may have seen this in their Revision History feature.
GitHub is a version control service.
The #1 reason to use Git is because it saves a history of changes in your files.
Git lets you compare previous versions with your current. You can go back to see where bugs or changes occurred, and restore old code or writing, while keeping the newest revisions.
Git allows for collaboration between users. Other users can "clone" your repository, make changes, and then suggest those changes to you. Or they can be included on the project and collaborate, without risk of writing over each other.
Binary-files (Word documents, model results, sound, images) can be added to Git, although you won't be able to see the changes. Nonetheless, Git still shows when the files were changed, and allows you to pull up old versions of them.
Changing Font Size in MINGW64 Terminal
Interactive GitHub Demos
Interactive Branching Guide
Git Command List