1. Introduction to Git
Git fundamentals begin with the role of version control and the structure of a local repository. From there, the workflow around commits, branches, and merges is built step by step, including parallel work on feature and bugfix branches and resolving merge conflicts.
- what the Git version control system is,
- local repository – creation and basic operations,
- Commit, branch, merge – basic workflow,
- working on multiple branches (feature branches, bugfix branches),
- resolving conflicts in merges.
2. Advanced work with Git
When a team needs cleaner history or a different integration strategy, choices such as rebase and merge become important. This part also addresses stashing changes, restoring repository state, tagging versions, and comparing collaboration models like Git Flow and trunk-based development.
- Rebase and merge – differences and applications,
- stashing changes and restoring the repository state,
- tagging versions,
- teamwork patterns: Git Flow, trunk-based development.
3. Introduction to GitLab
GitLab serves not only as a code hosting platform, but also as a workspace for repository management, project setup, and access control. The material connects project creation with merge request based review, approval flow, and issue tracking used to organize development tasks.
- GitLab as a platform – repositories, user management, projects,
- creating a project and repository in GitLab,
- Fork, pull request (merge request) – code review and approval,
- Issue tracking and task management in GitLab.
4. GitLab CI/CD – basics
CI/CD in GitLab is presented through the purpose of automation, the role of pipelines, and the structure of the .gitlab-ci.yml file. Participants move from concepts to implementation by creating a first simple pipeline and seeing how individual jobs are triggered and executed.
- what CI/CD is and why it is important,
- Pipeline – what it is and how it works,
- overview of the .gitlab-ci.yml file,
- creating the first simple pipeline.
5. Practical configuration of GitLab CI/CD
Configuring a working GitLab CI/CD process starts with defining stages such as build, test, and deploy, then assigning execution to runners. The section follows this through practical examples: automated application tests after a commit and deployment to a test server.
- defining stages: build, test, deploy,
- creating and using runners,
- example: automatic testing of the application after commit,
- example: automatic deployment of the application to a test server.
6. Best practices and security
Secure and maintainable work in GitLab requires clear operational habits, proper handling of secrets, and disciplined use of environment variables in CI/CD. Attention is also given to pipeline monitoring, result analysis, and the recurring mistakes that lead to unstable automation or exposure of sensitive data.
- best practices for working with Git and GitLab,
- secrets and environment variables in GitLab CI/CD,
- monitoring and analysis of pipeline results,
- the most common mistakes and how to avoid them.
7. Summary and Q&A session
The closing segment consolidates the key topics discussed across Git, GitLab, and CI/CD workflows. It also creates space for individual questions, troubleshooting, and debugging of repository, merge, or pipeline issues that participants want to analyze in the context of their own work.
- discussion of the most important issues,
- individual consultations / debugging problems with Git and GitLab.