Session 13: Graphical User Interfaces

Track, organize and share your work: An introduction to Git for research

Course at University of Hamburg & Erasmus University Rotterdam

Slides | Source

License: CC BY 4.0 DOI

January 24 2025 (10:15 am)

1 Logistics & Admin

Schedule

No Date Title Contents Reading Survey/Quiz
1 2024-10-18 Introduction to version control Organizational matters
Overview of seminar sessions
Introduction to version control
Introduction to Git and its advantages
Intro to version control Course introduction Survey
2 2024-10-25 Command line File Systems
Benefits of the Command Line
Basic Command Line commands
Command Line Command Line Quiz
3 2024-11-01 Setup + Git Fundamentals Installation and configuration of Git
Initializing a Git repository
Basic Git commands
Installation, Setup, First steps with Git Installation Survey, Git Basics Quiz
4 2024-11-08 Basic Git workflow Practicing basic Git commands
Ignoring files with .gitignore
Good commit messages
First steps with Git Git Basics Quiz
5 2024-11-15 Git Essentials (Repetition & Practice) Practicing basic Git commands
Ignoring files with .gitignore
Good commit messages
Git Essentials Git Basics Quiz
6 2024-11-22 Git Branching and Merging Understanding branches in Git
Creating and switching between branches
Merging branches
Resolving merge conflict
Branches Git Branches Quiz
7 2024-11-29 Quarto Workshop Introduction to Quarto
8 2024-12-06 Introduction to GitHub Introduction to remote repositories
Creating a GitHub account
Creating and managing repositories on GitHub
Pushing and pulling changes
GitHub Intro GitHub Quiz
9 2024-12-13 GitHub with collaborators Cloning a remote repository
Branching and merging in a collaborative environment
Pull Requests
GitHub Issues
Graphical User Interfaces (GUIs), e.g., GitKraken
GitHub Intro, GitHub Issues GitHub Quiz
10 2024-12-20 Repetition and Practice Repetition and Practice
11 2025-01-10 Git(Hub) with the world Forking a remote repository
README files
Project Management
GitHub Advanced, GitHub Issues GitHub Quiz
12 2025-01-17 Publishing Creating Tags with Git
Creating Releases with GitHub
Zenodo for publishing
Tags and Releases
13 2025-01-24 Graphical User Interfaces Course evaluation
Repetition and practice
Intro to Graphical User Interfaces
Graphical User Interfaces
14 2025-01-31 Summary & Outlook Course evaluation results
Surprise
Summary & Outlook

2 Course evaluation

Course evaluation

  • Check your emails for the link to the evaluation form!
  • Both Hamburg and Rotterdam students can complete the evaluation.
  • The evaluation is also available in English (you can change the language at the top-right).
  • Once you are done, you can start working on today’s exercises (see later slide).

3 Last session: Tags, Releases & Publication

Last session: Tags, Releases & Publication

https://lennartwittkuhn.com/version-control-book/chapters/tags-and-releases.html

Last session’s learning objectives

💡 You understand why Git Tags matter in version control and project management.
💡 You know the difference between lightweight and annotated tags and how to apply them.
💡 You can push and pull tags to a remote repository (e.g., GitHub).
💡 You understand how GitHub releases complement Git Tags.
💡 You can use Zenodo to archive your repository and make your work citable.

Questions about the last session?

4 Course requirements

From session 1: Your role

Active participation

  • This is a pass / fail course. You pass if you fulfill all course requirements:
  • Requirement 1: Come to at least 12 out of 14 sessions (85%)
  • Requirement 2: Complete all surveys/quizzes
  • Requirement 3: Complete all mandatory exercises (implemented in Git)

How do we verify the course requirements?

  1. Requirement 1: Sign the attendance list
  2. Requirement 2: Provide a personal codeword. At the end of the semester, send an email with your personal codeword to sekretariat-luv.psych@uni-hamburg.de (Christine Manor). We will send our secretary a list of personal codewords and she will return a list of names.
  3. Requirement 3: We check your GitHub repositories.

Your tasks

In order to pass this course, you should have accomplished the following tasks:

  1. You have a public city-guide repository on GitHub (Sessions 03, 08, 12).
  2. You added a text file (e.g., .qmd or .txt) with at least one city recommendation to the repository (Session 03).
  3. You added a .gitignore file (ignoring a random file like an image) to the repository (Sessions 04, 05).
  4. You created and merged a branch in your repository (Session 06).
  5. You created a pull request in a partner’s repository, e.g., by adding a new recommendation (Sessions 09, 10).
  6. You reviewed and merged the pull request of a partner in your city-guide repository (Sessions 09, 10).
  7. You created an issue in Lennart’s city-guide repository, a pull request from a fork fixing the issue, you implemented all additional requests and your pull request was approved and merged by Lennart (Session 11).
  8. You created a release of your city-guide repository on GitHub (Session 12).
  9. You completed all quizzes (see next slide).
  10. You completed the extra assignment (if necessary, see next slide).

Quiz participation

In order to pass this course, you should have completed all quizzes:

  1. Intro
  2. Command Line
  3. Git Basics
  4. Branches
  5. GitHub

How to verify participation

  1. At the end of the semester, send an email with your personal codeword to sekretariat-luv.psych@uni-hamburg.de (Christine Manor), not to us!
  2. Our secretary sends us an unsorted list with codewords.
  3. We verify the quiz participation for each codeword and send Christine a list with codewords that completed all quizzes.
  4. Christine compares the codewords with your names and send us an unsorted list with names.

Missed more than two sessions?

We will send you an email with an extra assignment.

5 Graphical User Interfaces (GUIs) for Git

Graphical User Interfaces (GUIs) for Git

Integrated Development Environments (IDEs)

RStudio

MATLAB

Git Clients

GitKraken

GitHub Desktop

Mobile

Working Copy (iOS)

Learning objectives

💡 You understand the benefits of Git GUIs compared to the command line
💡 You can name at least two Git operations that can be considered easier in a GUI compared to the command line
💡 You try out different GUIs and become familiar with their features
💡 You know how to manage branches in a GUI

Reading

“Graphical User Interfaces”

Tasks

In this session, you will work on the following tasks:

  1. Reading: Read the chapter(s) “Graphical User Interfaces” in the Version Control Book.
  2. Implementation: Try out the commands in the chapter.
  3. Exercises: Work on the exercises for the city-guide project.

As always:

  1. Check whether you have achieved the learning objectives.
  2. Ask questions!
  3. Let’s git started!

Exercises

Option 1: Complete the course requirements

  • We are here to help!

Option 2: Collaborate with pull requests (using GUIs)

  1. Fork your partner’s repository on GitHub.
  2. Using a GUI, clone the forked repository.
  3. Create and switch to a new branch.
  4. Add a surprise recommendation to their city-guide repository.
  5. Stage and commit the changes.
  6. Create a Pull Request from the forked to the original repository.
  7. Review the Pull Request from your partner and create a coherent recipe.
  8. Merge the Pull Request that your partner created in your repository.

6 Demonstration: GitKraken / RStudio