
Create a git repository in your project folder with git init, then use git status to inspect state and the hidden .git folder and the master or main branch.
Configure git globally by setting user.name and user.email to identify who makes each change in collaborative GitLab projects.
Explore how git log reveals the history of commits, showing when and by whom changes occurred and which files were updated. Use --patch to view diffs.
Learn how rebasing your feature branch onto master creates a clean history and enables fast-forward merges by replaying commits on top of master.
Learn to synchronize your local repository with the remote by pulling changes from origin master. See how git pull fetches updates and merges them into the local master.
Gain practical experience with git and GitLab CI through command-line practice, including resolving conflicts. Learn to clone, branch, merge, submit and review merge requests within GitLab.
This course is neither endorsed by, nor in partnership, nor affiliated with GitLab, Inc.
GitLab is transforming the way teams collaborate to get work done. One central component of GitLab is the possibility of hosting Git repositories.
To take full advantage of GitLab, you need to know the basics of Git.
For many beginners, working with Git can be scary. I can reassure you that once you understand the main concepts around Git, collaborating it others will be easy.
What is Git?
Git is a versioning control system that allows you to keep track of changes to files and also share changes with others. A bit like Dropbox but much more advanced.
What will I learn if I take this class?
If you take this class, you will be able to work with others on shared Git repositories with no issues.
In this course we class we cover:
the basics around Git
how to commit changes
how to share changes with others on GitLab
how do handle merge requests
What is the difference between GitHub and GitLab?
Great question. Both are online services that offer Git hosting and collaboration tools. While Github is very popular for open source projects, GitLab is mostly adopted by organizations for private repositories.
What are the requirements for taking this class?
No previous knowledge is required. I am around to help if you get stuck.
Do I need programming skills?
While Git is often used by software developers, you don't need any programming skills to learn Git.
Do I need to install any software?
Yes, you need to be able to install Git on your computer.
Does it cost anything?
Git is open source and free to download. You will find more instructions in the course notes.
If you don't already have a GitLab account, you can create one for free at GitLab(.)com
See you in class!
Legal Disclaimer
This course is an independent educational resource and is not endorsed by, affiliated with, or associated with GitLab Inc. or any of its products or services. GitLab and the GitLab logo are trademarks of GitLab Inc. All product names, logos, and brands mentioned in this course are the property of their respective owners.
This course contains promotional materials.