Introduction to Git & GitHub
5 and 6 September 2024
General context
This workshop will take you through the basic use of Git and GitHub. Git is a free and open source distributed version-control system designed to maintain code, track changes, recover old versions and collaborate with other developers.
Get you started with Git from zero (note that if you already use Git, this workshop will be too basic for you). We'll explore Git on the command-line and its interaction with GitHub.
- Introduction, set-up & configurations
- Working locally: Create a repository, clone, edit, staging commits, commit & push
- Working with your history & logs
- Working in a project: Branching & pull requests
- Collaborate with other people in your project
During the workshop we also briefly discuss how you can setup a collaboration project.
This course is intended for researchers who are learning or using a programming language (R, Python, ...) and might have an existing project with code or text files that need track of changes. If you intend to make your code collaborative, bonus points for you!
IMPORTANT! Some basic knowledge of the command-line is STRONGLY advised for this course (e.g. this tutorial).
Trainers
Bruna Piereck
Bruna Piereck is a bioinformatics trainer at VIB and ELIXIR-BE training coordinator deputy. She obtained a Master and PhD degree in Molecular Genetics, with a focus on Bioinformatics from the Federal University of Pernambuco, Brazil, in 2019. During her PhD, she had the chance to collaborate with the university of Luxembourg and the McGill university in Quebec Canada for a short time. Ever since she has been involved with teaching and research and Since March 2022, she joined VIB with the mission of teaching and assist other trainers in a variety of topics.
Program
Configurations & Introduction
Coffe Break
Routine usage part 1 (status-stage-commit)
Lunch
History & Versions
From Git to GitHub
Coffe Break
Collaborating in GitHub
Recap from 1st day
Experimenting Risk Free: What are Branchs in Git & GitHub
Coffe Break
Experimenting Risk Free: Working with Branchs
Lunch
Solving Conflicts
Coffee Break
Changing an old version - Another way of Branching
Coffee Break
Forking
Practical info
05 September 2024 - 06 September 2024
Leuven - Campus Gasthuisberg
Herestraat 49
3000 Leuven
Belgium
05 September 2024 - 06 September 2024
Leuven - Campus Gasthuisberg
Leuven train station is approximately 4 km from the campus Gasthuisberg. Buses depart very regularly to the Gasthuisberg Campus from Leuven train station.
For tickets and up to date schedules visit website De Lijn or use the De Lijn App.
Exit at the very last bus stop ‘Gasthuisberg Campus) make sure not to exit at ‘Gasthuisberg Kliniek =
hospital)
Once you get off the bus, go to your right and go up the street until you see stairs to your left. Climb the stairs all the way up between two buildings. Look for the signs containing blue circles and white numbers and follow them all the way from 2 up to number 12. You will cross several buildings and the walk will take max. 10 minutes. When you reach number 12, you have reached O&N 5, where you can find the reception.
05 September 2024 - 06 September 2024
Leuven - Campus Gasthuisberg
The Gasthuisberg campus is west of the Leuven ring. Our buildings are situated behind the hospital (see black arrow near ‘RING NOORD’ on the map). If you come from the city center, you will arrive on campus from the east side (taking Mgr. Van Waeyenberglaan and roundabout Het Teken). If you come from Heverlee or Campus Arenberg, you will arrive from the west side (taking the Celestijnenlaan and Taborweg). When you arrive uphill at the intersection with the Rega Institute and the Red Cross building, you need to take the road down to the bicycle parking at Rega Institute (see map) where you can park. Next, follow the ‘Onderwijs & Navorsing blue route’ description below (start point is #9).
05 September 2024 - 06 September 2024
Leuven - Campus Gasthuisberg
You arrive via the E314 highway – EXIT 16
After 200 m, keep left to drive underneath the roundabout and into the tunnel.
Keep left and follow the arrows to Parking West.
You arrive via the Leuven ring road
At the roundabout, take the exit towards ‘Spoed / Ziekenhuis’.
Follow the ring around Campus Gasthuisberg and pass the entrance of SPOED.
Continue right until you arrive at a second roundabout.
Follow the directions for E314.
Near the Fire Brigade Station, make a U-turn and follow the directions for ‘Ziekenhuis’.
Keep left and drive downhill, underneath the roundabout and into the tunnel.
Keep left and follow the arrows to Parking West.
Next, leave the parking at level +1 using the big stairs near the vending machines.
Follow the red carpet and arrows to 'Onco Dagcentrum' to get to the O&N buildings. Take the stairs on your left after exiting Parking West. You are now in front of the O&N4 building; on the left you will find O&N5.
05 September 2024 - 06 September 2024
Leuven - Campus Gasthuisberg
ON5 building
5th Floor, room 404-28.05.347