My code changed and using Git I know where and when
What is Git?
Git is the open source distributed version control system. In other words, it is a program that helps you put a time-stamp to your files, so that you can keep track of all the changes.
Audience
These materials are intended for scientists who are learning a new programming language or/and have an existing project with code (in any language) or text files that need track of changes. If you intend to make your code collaborative, bonus points for you!
Aim
This short workshop aims to get you started with Git from zero.
Disclaimer: If you already use Git this is too basic for you.
Learning outcomes
- Understand the concept of Git
- Create a repository for your project to keep track of changes
- Add messages to your changes
- Explore your file history
- Ignoring things
- Connect to GitHub
- Collaborating on file changes
- We will have a look at Atom Editor - or you can test your own language app integration with Git
Requirements
- This is a bring your own computer workshop, you need to install Git before the workshop (see setup)
- Create a free GitHub account
How is the course organised?
The course is extremely hands-on, and includes one hour of lecture in total, and two hours of practical exercises and time to ask questions.
If you would like to follow the workshop on your own, you can go through on your own time, the files are ordered numerically, starting from setup.
Contents
- Setup
- First activity to get to know each other
- Slides presentation
- Time to code in
- Interactive game in small groups
- Moving on to GitHub
- Extra: using Atom
- Find extra resources
License
This event was first organised for ELIXIR Belgium in 2018.
Trainer and workshop materials by Paula Andrea Martinez, 2021. v2 My code changed and using Git I know where and when license Creative Commons Attribution 4.0 International License. Link to markdown files https://github.com/orchid00/git_for_humans/.