<aside> 💡 Welcome to the intro to git, github and rstudio tutorial! Today, we'll explore the benefits of using Git and GitHub for version control in research, how to integrate GitHub with RStudio, and how to enhance your coding experience with GitHub Copilot. By the end of this session, you'll be a part of our mpredlab GitHub organization 🤞 and ready to code more efficiently with an AI pair programmer.

</aside>

Part 1: Why Use Git and GitHub for Version Control?


Untitled

Git

Git is a system that helps you keep track of changes in your code. With Git, you can go back to old versions of your project, see how it has changed over time, and work with others without worrying about overwriting their work.

GitHub

GitHub is a website that uses Git, a tool that keeps track of changes in your code. Git is usually used through the command-line, and lets you go back to any previous version of your code. GitHub adds a user-friendly web interface to Git, as well as extra features like access control, collaboration tools, and task management. This makes it easier to manage your projects and share them with others.

Benefits of using Git and GitHub include:

Not just for programmers paper

<aside> 💡 TLDR GitHub is a valuable tool in research projects, facilitating open science practices, project continuity, collaboration, manuscript writing, peer review, and scientific reproducibility. It also benefits the scientific community by storing data and code, making it citable and reproducible.

</aside>

Methods Ecol Evol - 2023 - Braga - Not just for programmers How GitHub can accelerate collaborative and reproducible.pdf

Part 2: Setting Up GitHub with RStudio